Module Name:    src
Committed By:   jmcneill
Date:           Tue Aug  9 15:02:30 UTC 2011

Modified Files:
        src/distrib/sets: Makefile

Log Message:
when sorting the metalog for unpriv builds, first run it through sort so
mtree doesn't fail with:
  nbmtree: .: missing directory in specification
  nbmtree: failed at line 1 of the specification


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 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.83 src/distrib/sets/Makefile:1.84
--- src/distrib/sets/Makefile:1.83	Wed Feb 16 06:14:01 2011
+++ src/distrib/sets/Makefile	Tue Aug  9 15:02:30 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.83 2011/02/16 06:14:01 uebayasi Exp $
+#	$NetBSD: Makefile,v 1.84 2011/08/09 15:02:30 jmcneill Exp $
 
 # Experimental RCS METALOG versioning
 # (Needs host's rcs(1) commands)
@@ -124,7 +124,8 @@
 METALOG.unpriv= -M ${METALOG}.sanitised
 sanitise_METALOG: .PHONY ${METALOG}.sanitised
 ${METALOG}.sanitised: ${METALOG}
-	${TOOL_MTREE} -CSM -k all -N ${NETBSDSRCDIR}/etc <${METALOG} \
+	sort ${METALOG} | \
+	    ${TOOL_MTREE} -CSM -k all -N ${NETBSDSRCDIR}/etc \
 	    >${METALOG}.new
 	mv ${METALOG}.new ${METALOG}.sanitised
 .if defined(RCSMETALOG)

Reply via email to