From f5df323425e4f1e41d660c747b5ed95c14100de4 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 30 Oct 2007 00:45:28 +0100 Subject: [PATCH] Do not re-create live-directory in $UPDATE --- grml-live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.1.4