Add missing test call in $FORCE_ISO_REBUILD code
authorMichael Prokop <mika@grml.org>
Mon, 28 Sep 2009 12:13:52 +0000 (14:13 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 28 Sep 2009 12:13:52 +0000 (14:13 +0200)
debian/changelog
grml-live

index ffe309c..3101752 100644 (file)
@@ -25,8 +25,9 @@ grml-live (0.9.23) unstable; urgency=low
   * Use blocksize of 256 when running mksquashfs-lzma binary.
   * Update documentation regarding recent lzma development.
   * Some minor cosmetic corrections in grml-live's output.
+  * Add missing test call in $FORCE_ISO_REBUILD code.
 
- -- Michael Prokop <mika@grml.org>  Mon, 21 Sep 2009 18:13:05 +0200
+ -- Michael Prokop <mika@grml.org>  Mon, 28 Sep 2009 14:13:02 +0200
 
 grml-live (0.9.22) unstable; urgency=low
 
index a32f9ad..df3481f 100755 (executable)
--- 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 && ! -f "${ISO_OUTPUT}/${ISO_NAME}"; 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