projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b85b7b
)
Do not re-create live-directory in $UPDATE
author
Michael Prokop
<devnull@localhost>
Mon, 29 Oct 2007 23:45:28 +0000
(
00:45
+0100)
committer
Michael Prokop
<devnull@localhost>
Mon, 29 Oct 2007 23:45:28 +0000
(
00:45
+0100)
grml-live
patch
|
blob
|
history
diff --git
a/grml-live
b/grml-live
index
d776c19
..
1cfafc0
100755
(executable)
--- 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
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
mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/grml.squashfs -noappend
log "Finished execution of stage 'squashfs' [$(date)]"
einfo "Finished execution of stage 'squashfs'" ; eend 0