summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorheas <heas@pkgsrc.org>2005-10-02 02:05:29 +0000
committerheas <heas@pkgsrc.org>2005-10-02 02:05:29 +0000
commit02cec319e29e50eb7f50051efb27eb63acc68c00 (patch)
tree795c0dd59dd949a037f6572024718c5913c5b828 /pkgtools
parentf8c9c2c8a74d3fae68d58fbce8a27c207a932cd2 (diff)
downloadpkgsrc-02cec319e29e50eb7f50051efb27eb63acc68c00.tar.gz
Solaris 2.9's nawk does not like the syntax ($0 ~ /=/); it seems as if the
parser interprets this as the division operator '/=', so escape the =.
Diffstat (limited to 'pkgtools')
-rwxr-xr-xpkgtools/pkg_chk/files/pkg_chk.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg_chk/files/pkg_chk.sh b/pkgtools/pkg_chk/files/pkg_chk.sh
index 3e242aa353e..01d5260626d 100755
--- a/pkgtools/pkg_chk/files/pkg_chk.sh
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh
@@ -1,6 +1,6 @@
#!@SH@ -e
#
-# $Id: pkg_chk.sh,v 1.20 2005/09/27 17:13:03 abs Exp $
+# $Id: pkg_chk.sh,v 1.21 2005/10/02 02:05:29 heas Exp $
#
# TODO: Make -g check dependencies and tsort
# TODO: Variation of -g which only lists top level packages
@@ -342,7 +342,7 @@ pkgdirs_from_conf()
if (skip[$1])
next;
need = 0;
- if ($0 ~ /=/) {
+ if ($0 ~ /\=/) {
split($0, tmp, "[ \t]*=");
taggroup = tmp[1];
sub("[ \t]*=", "=");