pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk One ident string per file is enough.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e54d9bb5848
branches:  trunk
changeset: 533735:2e54d9bb5848
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Sep 27 12:49:14 2007 +0000

description:
One ident string per file is enough.

Committed although we are in a freeze, since it doesn't affect building the
packages.

diffstat:

 mk/bsd.pkg.debug.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9185aa5bb5fa -r 2e54d9bb5848 mk/bsd.pkg.debug.mk
--- a/mk/bsd.pkg.debug.mk       Thu Sep 27 11:19:52 2007 +0000
+++ b/mk/bsd.pkg.debug.mk       Thu Sep 27 12:49:14 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.debug.mk,v 1.19 2007/06/19 13:11:01 dmcmahill Exp $
+# $NetBSD: bsd.pkg.debug.mk,v 1.20 2007/09/27 12:49:14 rillig Exp $
 #
 # Public targets:
 #
@@ -49,7 +49,7 @@
          ident=`${SED} -n                                              \
            -e 's,^.*\\([$$]NetBSD:[^$$]*\\$$\\).*,\\1,p'               \
            -e 's,^.*\\([$$]Id:[^$$]*\\$$\\).*,\\1,p'                   \
-           "$${fname}"` || continue;                                   \
+           "$${fname}" | ${SED} 1q` || continue;                       \
          case $${ident} in                                             \
          *?*) ${PRINTF} "\\t%s: %s\\n" "$${fname}" "$${ident}";;       \
          esac;                                                         \



Home | Main Index | Thread Index | Old Index