summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2011-06-06 18:25:11 +0000
committermarcel <marcel@FreeBSD.org>2011-06-06 18:25:11 +0000
commitd64e8f190560b3ab8442a3ede043c6b5d8438dbb (patch)
treec8385fb8ec597ce5c62e8622bf817ad5e93810d2 /release
parent2b4f16d8ca90ab41ab0b01cc24172b2746107ef6 (diff)
downloadFreeBSD-src-d64e8f190560b3ab8442a3ede043c6b5d8438dbb.zip
FreeBSD-src-d64e8f190560b3ab8442a3ede043c6b5d8438dbb.tar.gz
Don't clobber the hosts /etc/fstab. $1 is empty at this point.
Diffstat (limited to 'release')
-rw-r--r--release/ia64/mkisoimages.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/ia64/mkisoimages.sh b/release/ia64/mkisoimages.sh
index 5dac51b..f17185b 100644
--- a/release/ia64/mkisoimages.sh
+++ b/release/ia64/mkisoimages.sh
@@ -72,8 +72,8 @@ else
BOOTOPTS=""
fi
-echo "/dev/iso9660/$LABEL / cd9660 ro 0 0" > $1/etc/fstab
+echo "/dev/iso9660/$LABEL / cd9660 ro 0 0" > $BASE/etc/fstab
makefs -t cd9660 $BOOTOPTS -o rockridge -o label=$LABEL $NAME $BASE $*
+rm $BASE/etc/fstab
rm -f $EFIPART
-rm $1/etc/fstab
exit 0
OpenPOWER on IntegriCloud