diff options
author | grant <grant> | 2004-02-07 21:40:17 +0000 |
---|---|---|
committer | grant <grant> | 2004-02-07 21:40:17 +0000 |
commit | aa8203a53c170594b24c0dcd80930984c9a6aae8 (patch) | |
tree | e7365673c8ed9f3aa2567de391831a6e9f773c5a /pkgtools | |
parent | 572823aea3a399897ecf8dccc7809c5c7be64512 (diff) | |
download | pkgsrc-aa8203a53c170594b24c0dcd80930984c9a6aae8.tar.gz |
use ${AWK} instead of awk. makes this work on Solaris.
Diffstat (limited to 'pkgtools')
-rwxr-xr-x | pkgtools/pkgchk/files/pkgchk.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh index aa0d4031284..3df127cb105 100755 --- a/pkgtools/pkgchk/files/pkgchk.sh +++ b/pkgtools/pkgchk/files/pkgchk.sh @@ -1,6 +1,6 @@ #!/bin/sh -e # -# $Id: pkgchk.sh,v 1.48 2003/12/09 12:54:13 abs Exp $ +# $Id: pkgchk.sh,v 1.49 2004/02/07 21:40:17 grant Exp $ # # TODO: Handle updates with dependencies via binary packages @@ -427,7 +427,7 @@ if [ -n "$opt_g" ]; then mv $PKGCHK_CONF ${PKGCHK_CONF}.old fi echo "# Generated automatically at `date`" > $PKGCHK_CONF - ${PKG_INFO} -qBa | awk '/^PKGPATH/ { sub("PKGPATH=[ ]*", ""); print }' >> $PKGCHK_CONF + ${PKG_INFO} -qBa | ${AWK} '/^PKGPATH/ { sub("PKGPATH=[ ]*", ""); print }' >> $PKGCHK_CONF fi if [ -n "$opt_c" -o -n "$opt_l" ];then |