summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_chk
diff options
context:
space:
mode:
authorheas <heas>2005-10-02 02:05:29 +0000
committerheas <heas>2005-10-02 02:05:29 +0000
commitd4f718055f5a4f776e4c3c497cb39355e8e8b42a (patch)
tree795c0dd59dd949a037f6572024718c5913c5b828 /pkgtools/pkg_chk
parentc1631a9105db8a5d03aa85b3a3df60eb7124fa24 (diff)
downloadpkgsrc-d4f718055f5a4f776e4c3c497cb39355e8e8b42a.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/pkg_chk')
-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]*=", "=");