From: Michael Prokop Date: Mon, 29 Oct 2007 23:45:28 +0000 (+0100) Subject: Do not re-create live-directory in $UPDATE X-Git-Tag: 0.0.7~14 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=f5df323425e4f1e41d660c747b5ed95c14100de4 Do not re-create live-directory in $UPDATE --- diff --git a/grml-live b/grml-live index d776c19..1cfafc0 100755 --- a/grml-live +++ b/grml-live @@ -465,7 +465,7 @@ if [ -f "$BUILD_OUTPUT"/live/grml.squashfs -a -z "$UPDATE" ] ; then log "$BUILD_OUTPUT/live exists already, skipping stage 'squashfs'" ewarn "$BUILD_OUTPUT/live exists already, skipping stage 'squashfs'" ; eend 0 else - mkdir "$BUILD_OUTPUT"/live + [ -d "$BUILD_OUTPUT"/live ] || mkdir "$BUILD_OUTPUT"/live mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/grml.squashfs -noappend log "Finished execution of stage 'squashfs' [$(date)]" einfo "Finished execution of stage 'squashfs'" ; eend 0