diff options
author | jlam <jlam@pkgsrc.org> | 2007-08-14 19:19:01 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-08-14 19:19:01 +0000 |
commit | 597066239a2bdbee49f62255623f696c462eb870 (patch) | |
tree | 3d317f12ce6e8010e7cecc6fc8f49725ebc32ff3 /mk | |
parent | a78cac15b03f657e62edf2f8b242d9ab2101ebc4 (diff) | |
download | pkgsrc-597066239a2bdbee49f62255623f696c462eb870.tar.gz |
Protect the template NetBSD RCS ID tag from being expanded.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/checksum/distinfo.awk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/checksum/distinfo.awk b/mk/checksum/distinfo.awk index f8ba3144003..1a9f8268c29 100644 --- a/mk/checksum/distinfo.awk +++ b/mk/checksum/distinfo.awk @@ -1,6 +1,6 @@ #!/usr/bin/awk -f # -# $NetBSD: distinfo.awk,v 1.1 2007/08/14 19:08:18 jlam Exp $ +# $NetBSD: distinfo.awk,v 1.2 2007/08/14 19:19:01 jlam Exp $ # # Copyright (c) 2007 The NetBSD Foundation, Inc. # All rights reserved. @@ -57,7 +57,7 @@ # # For example: # -# $NetBSD: distinfo.awk,v 1.1 2007/08/14 19:08:18 jlam Exp $ +# $NetBSD: distinfo.awk,v 1.2 2007/08/14 19:19:01 jlam Exp $ # # SHA1 (make-3.81.tar.gz) = cd4fa5a3184176492bf0799593a8f250a728210c # RMD160 (make-3.81.tar.gz) = a713a72875cb9a29568677c98022465c6f55cbbf @@ -270,7 +270,7 @@ function header() { return } } - lines[L++] = "$NetBSD: distinfo.awk,v 1.1 2007/08/14 19:08:18 jlam Exp $" + lines[L++] = "$" "NetBSD" "$" lines[L++] = "" } @@ -280,7 +280,7 @@ function header() { ### function is_patch(file) { if (file ~ /^patch-local-|[.]orig$|[.]rej$|~$/) return 0 - if (file ~ /^patch-.*/) return 1 + if (file ~ /^patch-/) return 1 return 0 } |