summaryrefslogtreecommitdiff
path: root/Build-tools/Do-compile
diff options
context:
space:
mode:
Diffstat (limited to 'Build-tools/Do-compile')
-rwxr-xr-xBuild-tools/Do-compile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile
index 50d2fcd7977..39da5b8b74b 100755
--- a/Build-tools/Do-compile
+++ b/Build-tools/Do-compile
@@ -66,6 +66,7 @@ if ($opt_stage == 0)
system("mkdir $host/test") if (! -d "$host/test");
system("mkdir $host/bin") if (! -d "$host/bin");
system("mkdir Logs") if (! -d "Logs");
+ system("mv $log ${log}-old") if (-f $log);
unlink($log);
}