aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl
diff options
context:
space:
mode:
authoronefang2021-09-02 23:52:35 +1000
committeronefang2021-09-02 23:52:35 +1000
commitb592583b39a98c684758812ee265212a7e620dec (patch)
tree39c17bcf5629d9ecd88433039db41756d3dcd5b9 /src/sledjchisl
parentComment++ (diff)
downloadopensim-SC-b592583b39a98c684758812ee265212a7e620dec.zip
opensim-SC-b592583b39a98c684758812ee265212a7e620dec.tar.gz
opensim-SC-b592583b39a98c684758812ee265212a7e620dec.tar.bz2
opensim-SC-b592583b39a98c684758812ee265212a7e620dec.tar.xz
Try hard linking to the correct place.
Diffstat (limited to 'src/sledjchisl')
-rw-r--r--src/sledjchisl/sledjchisl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 655f294..5bd864c 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -2023,10 +2023,10 @@ static void copyOpenSim(char *t)
2023 if (shellMeFail("rm -fr ", t)) E("Failed to rm!"); 2023 if (shellMeFail("rm -fr ", t)) E("Failed to rm!");
2024 if ((! qfile_exist(t)) && (! qfile_mkdir(t, S_IRWXU | S_IRGRP | S_IXGRP, true))) C("Unable to create path %s", t); 2024 if ((! qfile_exist(t)) && (! qfile_mkdir(t, S_IRWXU | S_IRGRP | S_IXGRP, true))) C("Unable to create path %s", t);
2025// TODO - have to make sure it's all owned by opensimsc. 2025// TODO - have to make sure it's all owned by opensimsc.
2026 if (shellMeFail("cd %s; cp -lr current/* -t %s ", scRoot, t)) E("Failed to cp!"); 2026 if (shellMeFail("cd %s; cp -lr %s/current/* -t %s ", scRoot, scRoot, t)) C("Failed to cp!");
2027 if (shellMeFail("cd %s; cp -lr current/.git* -t %s ", scRoot, t)) E("Failed to cp!"); 2027 if (shellMeFail("cd %s; cp -lr %s/current/.git* -t %s ", scRoot, scRoot, t)) C("Failed to cp!");
2028 if (shellMeFail("cd %s; cp -lr current/.nant -t %s ", scRoot, t)) E("Failed to cp!"); 2028 if (shellMeFail("cd %s; cp -lr %s/current/.nant -t %s ", scRoot, scRoot, t)) C("Failed to cp!");
2029 if (shellMeFail("cd %s; cp -lr current/.hgignore -t %s ", scRoot, t)) E("Failed to cp!"); 2029 if (shellMeFail("cd %s; cp -lr %s/current/.hgignore -t %s ", scRoot, scRoot, t)) C("Failed to cp!");
2030} 2030}
2031 2031
2032static void runTests(char *tests[], char *title, char* file) 2032static void runTests(char *tests[], char *title, char* file)