diff options
author | jlam <jlam> | 2007-08-14 19:19:01 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-08-14 19:19:01 +0000 |
commit | 9794d9d9de97d6f175d7203771af1e6514d32aa3 (patch) | |
tree | 3d317f12ce6e8010e7cecc6fc8f49725ebc32ff3 /mk/checksum | |
parent | aac1c6dc9dca2fd4fae392edf682a714d65cfd8c (diff) | |
download | pkgsrc-9794d9d9de97d6f175d7203771af1e6514d32aa3.tar.gz |
Protect the template NetBSD RCS ID tag from being expanded.
Diffstat (limited to 'mk/checksum')
-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 } |