Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/distrib/sets Pull up revision 1.5 (requested by lukem i...
details: https://anonhg.NetBSD.org/src/rev/cb7a4e702eec
branches: netbsd-1-6
changeset: 529099:cb7a4e702eec
user: lukem <lukem%NetBSD.org@localhost>
date: Mon Sep 30 12:55:24 2002 +0000
description:
Pull up revision 1.5 (requested by lukem in ticket #822):
Also sum symlinks (as well as files) which match, as we often replace
common sets with a symlink to a shared copy, and this change ensures
that all the appropriate entries have sums generated.
diffstat:
distrib/sets/makesums | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 695dfb266336 -r cb7a4e702eec distrib/sets/makesums
--- a/distrib/sets/makesums Mon Sep 30 12:51:34 2002 +0000
+++ b/distrib/sets/makesums Mon Sep 30 12:55:24 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: makesums,v 1.3.2.1 2002/07/23 09:16:20 lukem Exp $
+# $NetBSD: makesums,v 1.3.2.2 2002/09/30 12:55:24 lukem Exp $
#
# Make checksum files for files in ``tardir''. Usage:
# makesums [-t tardir] [ -all ] [setname ...]
@@ -60,7 +60,7 @@
elif [ -z "$pat" ]; then
pat='*.tgz'
fi
-lists=`find $pat -prune -type f \! -name '*SUM' \! -name MD5 2>/dev/null`
+lists=`find $pat -prune \( -type f -o -type l \) \! -name '*SUM' \! -name MD5 2>/dev/null`
if [ -n "$lists" ]; then
${CKSUM} -o1 $lists > BSDSUM
${CKSUM} $lists > CKSUM
Home |
Main Index |
Thread Index |
Old Index