[SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (5060735854e06bcf7d50cfc70cdc08e856effbc5)
Justin Boffemmyer
scm at sourcemage.org
Tue Oct 14 12:54:51 EDT 2008
GIT changes to test cauldron by Justin Boffemmyer <flux at sourcemage.org>:
scripts/mkiso.sh | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5060735854e06bcf7d50cfc70cdc08e856effbc5
Author: Justin Boffemmyer <flux at sourcemage.org>
Commit: Justin Boffemmyer <flux at sourcemage.org>
scripts/mkiso.sh: fix typo in test construct
I accidentally had '[[' in the wrong place, causing a test to always
evaluate to true. This is now fixed. Thanks to Jaka for catching this.
diff --git a/scripts/mkiso.sh b/scripts/mkiso.sh
index 455572d..0baf72c 100755
--- a/scripts/mkiso.sh
+++ b/scripts/mkiso.sh
@@ -62,7 +62,7 @@ ISO_VERSION=$2
$SUODOCMD mkisofs -R -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -V ${ISO_VERSION} -publisher "Source Mage GNU/Linux" -p "Cauldron" -o "${ISO_VERSION}.iso" "$ISO_CHROOT"
-if [[ $COMPRESS || -n $KEEP ]]
+if $COMPRESS || [[ -n $KEEP ]]
then
$SUODOCMD bzip2 -f -v $KEEP "${ISO_VERSION}.iso"
fi
More information about the SM-Commit
mailing list