summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-09-03 03:48:06 +0000
committerimp <imp@FreeBSD.org>2010-09-03 03:48:06 +0000
commitc5088c509ec1217c573d1e4a4330b9bbef13d6f3 (patch)
treed35fa3100e09ea512ae28af4b1b7121fc484288a /tools
parentdea7e7503e0a5e77302c9bb7d36da2338b3716a4 (diff)
downloadFreeBSD-src-c5088c509ec1217c573d1e4a4330b9bbef13d6f3.zip
FreeBSD-src-c5088c509ec1217c573d1e4a4330b9bbef13d6f3.tar.gz
Allow / in the NANO_DEVICE
PR: 149729 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/nanobsd/nanobsd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh
index 8f38846..da8294b 100644
--- a/tools/tools/nanobsd/nanobsd.sh
+++ b/tools/tools/nanobsd/nanobsd.sh
@@ -503,7 +503,7 @@ create_i386_diskimage ( ) (
mount /dev/${MD}s2a ${MNT}
for f in ${MNT}/etc/fstab ${MNT}/conf/base/etc/fstab
do
- sed -i "" "s/${NANO_DRIVE}s1/${NANO_DRIVE}s2/g" $f
+ sed -i "" "s=${NANO_DRIVE}s1=${NANO_DRIVE}s2=g" $f
done
umount ${MNT}
fi
OpenPOWER on IntegriCloud