summaryrefslogtreecommitdiff
path: root/mk/plist/plist-man.awk
diff options
context:
space:
mode:
authorjlam <jlam>2006-01-22 16:54:13 +0000
committerjlam <jlam>2006-01-22 16:54:13 +0000
commit6dca4dc59364cbced8041c37301e8fc00c0bd679 (patch)
tree57c9441efacab7ea7e2db576d2eb819f50af5da4 /mk/plist/plist-man.awk
parent1229d0b484ceabaa5819b7f15585ceb5c8f622ad (diff)
downloadpkgsrc-6dca4dc59364cbced8041c37301e8fc00c0bd679.tar.gz
SUS says awk's delete command only deletes array elements, not the array
itself.
Diffstat (limited to 'mk/plist/plist-man.awk')
-rw-r--r--mk/plist/plist-man.awk4
1 files changed, 1 insertions, 3 deletions
diff --git a/mk/plist/plist-man.awk b/mk/plist/plist-man.awk
index 1676b416d2c..1f242170eb8 100644
--- a/mk/plist/plist-man.awk
+++ b/mk/plist/plist-man.awk
@@ -1,4 +1,4 @@
-# $NetBSD: plist-man.awk,v 1.1 2006/01/12 23:43:57 jlam Exp $
+# $NetBSD: plist-man.awk,v 1.2 2006/01/22 16:54:13 jlam Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -89,7 +89,6 @@ BEGIN {
section = substr(components[n-1], 4, 1)
sub("[0-9ln]$", section, components[n])
$0 = join(components, 1, n, "/")
- delete components
}
(IMAKE_MANINSTALL == "maninstall") && \
/^@dirrm ([^\/]*\/)+cat[1-9ln]/ {
@@ -107,7 +106,6 @@ BEGIN {
section = "0"
sub("[0-9ln]$", section, components[n])
$0 = join(components, 1, n, "/")
- delete components
}
(IMAKE_MANINSTALL == "catinstall") && \
/^@dirrm ([^\/]*\/)+man[1-9ln]/ {