Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/distrib/sets Pull up revision 1.12 (via patch, requeste...
details: https://anonhg.NetBSD.org/src/rev/6abe4315f752
branches: netbsd-1-4
changeset: 469999:6abe4315f752
user: he <he%NetBSD.org@localhost>
date: Sat Jan 08 18:53:16 2000 +0000
description:
Pull up revision 1.12 (via patch, requested by abs):
Add two new uptions: -u and -c to set diff style.
diffstat:
distrib/sets/checkflist | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (47 lines):
diff -r 51b157ee4f37 -r 6abe4315f752 distrib/sets/checkflist
--- a/distrib/sets/checkflist Sat Jan 08 18:48:31 2000 +0000
+++ b/distrib/sets/checkflist Sat Jan 08 18:53:16 2000 +0000
@@ -1,6 +1,6 @@
#! /bin/sh --
#
-# $NetBSD: checkflist,v 1.10 1998/07/22 17:01:43 perry Exp $
+# $NetBSD: checkflist,v 1.10.2.1 2000/01/08 18:53:16 he Exp $
#
# Verify output of makeflist against contents of $DESTDIR.
@@ -14,6 +14,7 @@
xargs=""
dargs=""
+diffargs=""
# handle args
while : ; do
@@ -28,12 +29,20 @@
-secr)
dargs="-d"
;;
+ -u)
+ diffargs="-u"
+ ;;
+ -c)
+ diffargs="-c"
+ ;;
-*)
cat 1>&2 <<USAGE
Usage: $0 [-x11|-both] [-secr]
-x11 check only x11 lists
-both check netbsd + x11 lists
-secr check domestic ("secr") lists
+ -u output differences in "unified diff" style
+ -c output differences in "context diff" style
USAGE
exit 1
;;
@@ -47,5 +56,5 @@
sh makeflist $xargs $dargs > $tmpname
( cd $DESTDIR ; find $origin \( -type d -o -type f -o -type l \) ) | sort | \
- diff $tmpname -
+ diff $diffargs $tmpname -
/bin/rm -f $tmpname
Home |
Main Index |
Thread Index |
Old Index