Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

Do not re-create live-directory in $UPDATE
authorMichael Prokop
Tue Oct 30 00:45:28 2007 +0100 (13 months ago)
changeset 23836241bbb7f08
manifest36241bbb7f08
parent 2373f49cd547c26
child 23974cf56ab2855
Do not re-create live-directory in $UPDATE
grml-live
--- a/grml-live Tue Oct 30 00:32:31 2007 +0100
+++ b/grml-live Tue Oct 30 00:45:28 2007 +0100
@@ -465,7 +465,7 @@ if [ -f "$BUILD_OUTPUT"/live/grml.squash
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