aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authoronefang2021-09-03 00:39:31 +1000
committeronefang2021-09-03 00:39:31 +1000
commit24884909008a782703486e8da62c8f5824ece6c6 (patch)
tree978d5ab2ddf7ecb0caa27f3d94a2fbc427681a48 /src
parentA little too simple, actually make the directory. (diff)
downloadopensim-SC-24884909008a782703486e8da62c8f5824ece6c6.zip
opensim-SC-24884909008a782703486e8da62c8f5824ece6c6.tar.gz
opensim-SC-24884909008a782703486e8da62c8f5824ece6c6.tar.bz2
opensim-SC-24884909008a782703486e8da62c8f5824ece6c6.tar.xz
Unsimplify failed cp experiment.
Diffstat (limited to 'src')
-rw-r--r--src/sledjchisl/sledjchisl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 61f2ee8..89c16fc 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -2023,7 +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 -al %s/current/ -t %s/ ", scRoot, scRoot, t)) C("Failed to cp!"); 2026 if (shellMeFail("cd %s; cp -al %s/current/* -t %s ", scRoot, scRoot, t)) C("Failed to cp!");
2027 if (shellMeFail("cd %s; cp -al %s/current/.git* -t %s ", scRoot, scRoot, t)) C("Failed to cp!");
2028 if (shellMeFail("cd %s; cp -al %s/current/.nant -t %s ", scRoot, scRoot, t)) C("Failed to cp!");
2029 if (shellMeFail("cd %s; cp -al %s/current/.hgignore -t %s ", scRoot, scRoot, t)) C("Failed to cp!");
2027} 2030}
2028 2031
2029static void runTests(char *tests[], char *title, char* file) 2032static void runTests(char *tests[], char *title, char* file)