PERFORCE change 122454 for review

Gabor Kovesdan gabor at FreeBSD.org
Thu Jun 28 07:24:26 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=122454

Change 122454 by gabor at gabor_server on 2007/06/28 07:23:28

	- Use realpath(1) when checking if devfs is mounted

Affected files ...

.. //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#13 edit

Differences ...

==== //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#13 (text+ko) ====

@@ -50,7 +50,7 @@
 	${MOUNT_NULLFS} ${PORTSDIR} ${DESTDIR}${PORTSDIR_TMP_REL}; \
 	found=0; \
 	for _entry in `${MOUNT} | ${GREP} devfs | ${AWK} {'print $$3'}`; do \
-		if [ $${_entry} = ${DESTDIR}/dev ]; then \
+		if [ `${REALPATH} $${_entry}` = `${REALPATH} ${DESTDIR}/dev` ]; then \
 			found=1; \
 		fi; \
 	done; \


More information about the p4-projects mailing list