Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets Use sort -s to get a stable sort, even if that ...



details:   https://anonhg.NetBSD.org/src/rev/22c9869e0609
branches:  trunk
changeset: 785011:22c9869e0609
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 18 00:22:13 2013 +0000

description:
Use sort -s to get a stable sort, even if that is the default for ours. We
prolly need a TOOL_SORT...

diffstat:

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

diffs (22 lines):

diff -r be4d83392769 -r 22c9869e0609 distrib/sets/Makefile
--- a/distrib/sets/Makefile     Mon Feb 18 00:00:55 2013 +0000
+++ b/distrib/sets/Makefile     Mon Feb 18 00:22:13 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.86 2013/02/18 00:00:55 christos Exp $
+#      $NetBSD: Makefile,v 1.87 2013/02/18 00:22:13 christos Exp $
 
 # Experimental RCS METALOG versioning
 # (Needs host's rcs(1) commands)
@@ -129,10 +129,10 @@
 .if ${MKUPDATE} != "no"
        ${TOOL_AWK} \
            '{ a[$$1] = $$0; } END { for (f in a) print a[f]; }' ${METALOG} | \
-           sort | ${TOOL_MTREE} -CSM -k all -N ${NETBSDSRCDIR}/etc \
+           sort -s | ${TOOL_MTREE} -CSM -k all -N ${NETBSDSRCDIR}/etc \
            >${METALOG}.new
 .else
-           sort ${METALOG} | ${TOOL_MTREE} -CSM -k all -N ${NETBSDSRCDIR}/etc \
+           sort -s ${METALOG} | ${TOOL_MTREE} -CSM -k all -N ${NETBSDSRCDIR}/etc \
            >${METALOG}.new
 .endif
        mv ${METALOG}.new ${METALOG}.sanitised



Home | Main Index | Thread Index | Old Index