aboutsummaryrefslogtreecommitdiff
path: root/sbrun
diff options
context:
space:
mode:
Diffstat (limited to 'sbrun')
-rwxr-xr-xsbrun2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbrun b/sbrun
index 5dd2222..1eeeb73 100755
--- a/sbrun
+++ b/sbrun
@@ -29,6 +29,8 @@ if [ "$(id -u)" != "0" ]; then
"$0" "$@"
fi
+[ -e "$BUILDLOG" ] && mv "$BUILDLOG" "$BUILDLOG".old
+
# Inherit MAKEFLAGS from env, if present.
MAKEFLAGS="${MAKEFLAGS:-$DEFAULT_MAKEFLAGS}"