diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 6c1b5bb..ece9259 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -1805,7 +1805,10 @@ simList *getSims() | |||
1805 | // If there's no sims, create the default Sandbox. | 1805 | // If there's no sims, create the default Sandbox. |
1806 | if (0 == ourSims->num) | 1806 | if (0 == ourSims->num) |
1807 | { | 1807 | { |
1808 | if (shellMeFail("cp %s/current/example/etc/Sandbox.shini %s/etc/", scRoot, scRoot)) E("Failed to copy Sandbex.shini!"); | 1808 | // Give it a new UUID. Think that's why I can't HG from DG, coz that's the same UUID on both grids. |
1809 | create_uuid(toybuf); | ||
1810 | if (shellMeFail("sed -E -e 's/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/%s/' %s/current/example/etc/Sandbox.shini >%s/etc/Sandbox.shini", | ||
1811 | show_uuid(toybuf), scRoot, scRoot)) E("Failed to sed Sandbex.shini!"); | ||
1809 | simNotFound(NULL, "Sandbox", "unsorted", 0, 0, 0, 0); | 1812 | simNotFound(NULL, "Sandbox", "unsorted", 0, 0, 0, 0); |
1810 | if ((ourSims->num + 1) > ourSims->len) | 1813 | if ((ourSims->num + 1) > ourSims->len) |
1811 | { | 1814 | { |