diff options
Diffstat (limited to '')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 5bd864c..6a1800e 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -2021,12 +2021,9 @@ static int filterARs(struct dirtree *node) | |||
2021 | static void copyOpenSim(char *t) | 2021 | static void copyOpenSim(char *t) |
2022 | { | 2022 | { |
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 %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 -lr %s/current/.git* -t %s ", scRoot, scRoot, t)) C("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 %s/current/.hgignore -t %s ", scRoot, scRoot, t)) C("Failed to cp!"); | ||
2030 | } | 2027 | } |
2031 | 2028 | ||
2032 | static void runTests(char *tests[], char *title, char* file) | 2029 | static void runTests(char *tests[], char *title, char* file) |