From df17837d378c5ee07a26c97ac1bfc3fb3f7bacbb Mon Sep 17 00:00:00 2001 From: "Carl N. Baldwin" Date: Mon, 12 Dec 2005 09:43:17 -0700 Subject: [PATCH] Fix test of string --- scripts/pack-image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1