Make mergemaster ignore files in /dev if /dev is a devfs.

Approved by:	Doug Barton <Doug@gorean.org>
This commit is contained in:
ben 2000-08-26 12:15:24 +00:00
parent fd7a4d0371
commit 55b1f4b48e

View File

@ -10,7 +10,7 @@
# $FreeBSD$
PATH=/bin:/usr/bin:/usr/sbin
PATH=/bin:/usr/bin:/usr/sbin:/sbin
display_usage () {
VERSION_NUMBER=`grep "[$]FreeBSD:" $0 | cut -d ' ' -f 4`
@ -422,6 +422,11 @@ case "${RERUN}" in
;;
esac
# Avoid trying to update MAKEDEV if /dev is on a devfs
if mount | grep -q "devfs on /dev "; then
rm ${TEMPROOT}/dev/MAKEDEV ${TEMPROOT}/dev/MAKEDEV.local
fi
;; # End of the "RERUN" test
esac