Fix usage of exclude option in $SQUASHFS_OPTIONS
[grml-live.git] / grml-live
index e2dd602..f5cafd8 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -864,7 +864,7 @@ else
 
    # get rid of unnecessary files when building grml-small for final release:
    if echo "$CLASSES" | grep -q GRML_SMALL ; then
-      SQUASHFS_OPTIONS="$SQUASHFS_OUTPUT -e initrd.img* vmlinuz*"
+      SQUASHFS_OPTIONS="$SQUASHFS_OPTIONS -e initrd.img* vmlinuz*"
    fi
 
    SQUASHFS_OUTPUT="$(mktemp -t grml-live.XXXXXX)"