From 0f8922e791fa140acb64f1becac27535b17f334c Mon Sep 17 00:00:00 2001 From: Jim Paris Date: Sun, 18 Aug 2013 23:33:33 -0400 Subject: [PATCH] fix bugs --- buildiso.sh | 4 ++-- run.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/buildiso.sh b/buildiso.sh index 8c15e0b..f22366a 100755 --- a/buildiso.sh +++ b/buildiso.sh @@ -32,7 +32,7 @@ sudo find . -type f -print0 \ | sudo tee md5sum.txt >/dev/null cd .. -sudo chown -R ${USER} iso +sudo chown -R ${USER} ${ISO} # build CD xorriso -as mkisofs \ @@ -44,4 +44,4 @@ xorriso -as mkisofs \ ${ISO} # fix iso for hybrid booting -isohybrid ${ISO} +isohybrid ${OUTPUT} diff --git a/run.sh b/run.sh index 759ac8c..8f5d264 100755 --- a/run.sh +++ b/run.sh @@ -48,7 +48,7 @@ set -x case $boot in c) echo "booting CD with empty disk" - rm -f disk.img + rm -f ${DISK} dd if=/dev/zero "of=${DISK}" bs=1M count=0 seek=10240 cfg="-cdrom ${iso} -hda ${DISK} -boot d" ;;