Skip to content

Commit

Permalink
Display Forcing rebuild message only if ISO does not exist yet
Browse files Browse the repository at this point in the history
  • Loading branch information
mika committed Sep 12, 2009
1 parent 2962f5b commit 5ec7502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grml-live
Expand Up @@ -993,7 +993,7 @@ elif [ -n "$SKIP_MKISOFS" ] ; then
else
mkdir -p "$ISO_OUTPUT" || bailout 6 "Problem with creating $ISO_OUTPUT for stage 'iso build'"

if $FORCE_ISO_REBUILD ; then
if $FORCE_ISO_REBUILD && ! -f "${ISO_OUTPUT}/${ISO_NAME}"; then
log "Forcing rebuild of ISO because files on ISO have been modified."
einfo "Forcing rebuild of ISO because files on ISO have been modified."
fi
Expand Down

0 comments on commit 5ec7502

Please sign in to comment.