diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-10 15:08:24 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-03-10 15:08:43 -0500 |
commit | 09c600b7a253f5b1714ae26810e53156f10f40ee (patch) | |
tree | b11eb100097c5e6f9283e1e72006ec3d2060f14d /sbrun | |
parent | 12f4c9554b536b441d3ff873ae6661b906f8c4ea (diff) | |
download | sbostuff-09c600b7a253f5b1714ae26810e53156f10f40ee.tar.gz |
sbrun: rename old build.log to build.log.old instead of deleting, sbodl: always cache file if it exists already
Diffstat (limited to 'sbrun')
-rwxr-xr-x | sbrun | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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}" |