From: Carl N. Baldwin Date: Mon, 12 Dec 2005 16:43:17 +0000 (-0700) Subject: Fix test of string X-Git-Tag: release-0.4.1~1 X-Git-Url: http://git.pippins.net/embedvideo/.git/%27%20%20%20%20.%20%24GLOBALS%5B%27phpgw%27%5D-%3Elink%28%27inc/jquery/%7Blink_activity%7D?a=commitdiff_plain;h=df17837d378c5ee07a26c97ac1bfc3fb3f7bacbb;p=backups%2F.git Fix test of string --- diff --git a/scripts/pack-image.sh b/scripts/pack-image.sh index ce985fa..0529035 100755 --- a/scripts/pack-image.sh +++ b/scripts/pack-image.sh @@ -76,7 +76,7 @@ echo "-> Running find to get the status of files" done } > $currentfiles -if [ -n $simulate ]; then +if [ -n "$simulate" ]; then backupdbin=$backupdbout fi @@ -87,7 +87,7 @@ echo "-> Determining list of files to backup with lsbackups" cat $currentfiles } | lsbackups > $backups 2>$statusfile -if [ -n $simulate ]; then +if [ -n "$simulate" ]; then umount $isomountdir rm -rf $isomountdir $isoimage cat $statusfile