From 24884909008a782703486e8da62c8f5824ece6c6 Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 3 Sep 2021 00:39:31 +1000 Subject: Unsimplify failed cp experiment. --- src/sledjchisl/sledjchisl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) if (shellMeFail("rm -fr ", t)) E("Failed to rm!"); if ((! qfile_exist(t)) && (! qfile_mkdir(t, S_IRWXU | S_IRGRP | S_IXGRP, true))) C("Unable to create path %s", t); // TODO - have to make sure it's all owned by opensimsc. - if (shellMeFail("cd %s; cp -al %s/current/ -t %s/ ", scRoot, scRoot, t)) C("Failed to cp!"); + if (shellMeFail("cd %s; cp -al %s/current/* -t %s ", scRoot, scRoot, t)) C("Failed to cp!"); + if (shellMeFail("cd %s; cp -al %s/current/.git* -t %s ", scRoot, scRoot, t)) C("Failed to cp!"); + if (shellMeFail("cd %s; cp -al %s/current/.nant -t %s ", scRoot, scRoot, t)) C("Failed to cp!"); + if (shellMeFail("cd %s; cp -al %s/current/.hgignore -t %s ", scRoot, scRoot, t)) C("Failed to cp!"); } static void runTests(char *tests[], char *title, char* file) -- cgit v1.1