Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sets when sorting the metalog for unpriv builds, fir...



details:   https://anonhg.NetBSD.org/src/rev/82202432710b
branches:  trunk
changeset: 768148:82202432710b
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Aug 09 15:02:30 2011 +0000

description:
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

diffstat:

 distrib/sets/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r fcad08edaa54 -r 82202432710b distrib/sets/Makefile
--- a/distrib/sets/Makefile     Tue Aug 09 14:18:17 2011 +0000
+++ b/distrib/sets/Makefile     Tue Aug 09 15:02:30 2011 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index