Module Name:    src
Committed By:   apb
Date:           Sun Jul 12 12:30:31 UTC 2009

Modified Files:
        src/distrib/sets: Makefile

Log Message:
Add "-M" flag to the mtree invocation in sanitise_METALOG.  This should
avoid errors in cases where a build poduct changes type (e.g. a file
becomes a symlink) between one build with older sources and a subsequent
update build with newer sources.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/distrib/sets/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/Makefile
diff -u src/distrib/sets/Makefile:1.67 src/distrib/sets/Makefile:1.68
--- src/distrib/sets/Makefile:1.67	Thu Apr 23 09:37:03 2009
+++ src/distrib/sets/Makefile	Sun Jul 12 12:30:31 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.67 2009/04/23 09:37:03 apb Exp $
+#	$NetBSD: Makefile,v 1.68 2009/07/12 12:30:31 apb Exp $
 
 # The `all' target must appear before bsd.own.mk is pulled in.
 all:
@@ -94,7 +94,7 @@
 METALOG.unpriv= -M ${METALOG}.sanitised
 sanitise_METALOG: .PHONY ${METALOG}.sanitised
 ${METALOG}.sanitised: ${METALOG}
-	${TOOL_MTREE} -CS -k all -N ${NETBSDSRCDIR}/etc <${METALOG} \
+	${TOOL_MTREE} -CSM -k all -N ${NETBSDSRCDIR}/etc <${METALOG} \
 	    >${METALOG}.new
 	mv ${METALOG}.new ${METALOG}.sanitised
 .if ${MKUPDATE} == "no" || !exists(${METALOG})

Reply via email to