From 09c600b7a253f5b1714ae26810e53156f10f40ee Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 10 Mar 2022 15:08:24 -0500 Subject: sbrun: rename old build.log to build.log.old instead of deleting, sbodl: always cache file if it exists already --- sbrun | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sbrun') 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}" -- cgit v1.2.3