X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml-live;h=df3481fd4c4de71c6ee68d5aa0afe2bd9cd37a0b;hb=8f83642853f48d75bcd6923b05a3b348144c8412;hp=0a8fb3a55501bca16d366749ad3ca31f13740747;hpb=2962f5b865c3056c0486c58b5df87b9a709444d9;p=grml-live.git diff --git a/grml-live b/grml-live index 0a8fb3a..df3481f 100755 --- a/grml-live +++ b/grml-live @@ -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