Allow / in the NANO_DEVICE

PR:		149729
Submitted by:	Thomas Quinot <thomas@cuivre.fr.eu.org>
This commit is contained in:
Warner Losh 2010-09-03 03:48:06 +00:00
parent ec6f1f4a71
commit 42908e80e6

View File

@ -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