From b592583b39a98c684758812ee265212a7e620dec Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 2 Sep 2021 23:52:35 +1000 Subject: Try hard linking to the correct place. --- src/sledjchisl/sledjchisl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sledjchisl/sledjchisl.c') 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) 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 -lr current/* -t %s ", scRoot, t)) E("Failed to cp!"); - if (shellMeFail("cd %s; cp -lr current/.git* -t %s ", scRoot, t)) E("Failed to cp!"); - if (shellMeFail("cd %s; cp -lr current/.nant -t %s ", scRoot, t)) E("Failed to cp!"); - if (shellMeFail("cd %s; cp -lr current/.hgignore -t %s ", scRoot, t)) E("Failed to cp!"); + if (shellMeFail("cd %s; cp -lr %s/current/* -t %s ", scRoot, scRoot, t)) C("Failed to cp!"); + if (shellMeFail("cd %s; cp -lr %s/current/.git* -t %s ", scRoot, scRoot, t)) C("Failed to cp!"); + if (shellMeFail("cd %s; cp -lr %s/current/.nant -t %s ", scRoot, scRoot, t)) C("Failed to cp!"); + if (shellMeFail("cd %s; cp -lr %s/current/.hgignore -t %s ", scRoot, scRoot, t)) C("Failed to cp!"); } static void runTests(char *tests[], char *title, char* file) -- cgit v1.1