summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index e4e23d7..a1b4ded 100755
--- a/build.sh
+++ b/build.sh
@@ -332,8 +332,8 @@ fi
echo ">>> Building image type(s): ${_IMAGESTOBUILD}"
if [ -n "${SNAPSHOTS}" ]; then
- echo "" > $SNAPSHOTSLOGFILE
- echo "" > $SNAPSHOTSLASTUPDATE
+ rm -f $SNAPSHOTSLOGFILE; touch $SNAPSHOTSLOGFILE
+ rm -f $SNAPSHOTSLASTUPDATE; touch $SNAPSHOTSLASTUPDATE
snapshots_rotate_logfile
OpenPOWER on IntegriCloud