From 26c14a02e6bac578d8f3d6632231a0fecd71ae49 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Tue, 14 Jul 2009 19:44:14 +0300 Subject: [PATCH] sde-create-iso: Resolved "if $x; then" bug (reminder bash is not VB) --- bin/sde-create-iso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sde-create-iso b/bin/sde-create-iso index ebaf3ff..154413c 100755 --- a/bin/sde-create-iso +++ b/bin/sde-create-iso @@ -138,7 +138,7 @@ bootoptions="${bootoptions}"`echo "${dirs}" | grep '^BOOTx ' | cut -f2- -d ' '` udf= [[ "$format" = "udf" ]] && udf="-udf" -if "$x"; then +if [ "$x" = "true" ]; then echo_abort 1 "$out_size is bigger than $size and I am too dumb to split across multiple media :(" else mkisofs "$udf" -r -T -J -l -A "OpenSDE - Disk 1" -publisher 'OpenSDE System Develop Environment - http://www.opensde.org' \