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
commit852277e6aa2fe92a1327df372d7a1f7acb603c8d (patch)
tree795c0dd59dd949a037f6572024718c5913c5b828 /pkgtools
parenteccd1cc95124cf78f0445fc4347784eac809a017 (diff)
downloadpkgsrc-852277e6aa2fe92a1327df372d7a1f7acb603c8d.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]*=", "=");