projects
/
backups
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2620819
)
Fix test of string
author
Carl N. Baldwin
<carl.n.baldwin@hp.com>
Mon, 12 Dec 2005 16:43:17 +0000
(09:43 -0700)
committer
Carl N. Baldwin
<carl.n.baldwin@hp.com>
Mon, 12 Dec 2005 16:43:17 +0000
(09:43 -0700)
scripts/pack-image.sh
patch
|
blob
|
history
diff --git
a/scripts/pack-image.sh
b/scripts/pack-image.sh
index ce985fa2eb13c00d93cfd11ec07faa36af7b3393..05290353374ffae80689d09d72d106b2b64365fe 100755
(executable)
--- 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