diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2004-04-27 03:51:24 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2004-04-27 03:51:24 +0000 |
commit | 50af634b67c7d91de3667a31299891481edb7703 (patch) | |
tree | 58e7f241bebab8876b49b281c1968a98a25a8519 /pkgtools/createbuildlink | |
parent | a52c4d1dc98431a22839634a2d0abb7e79a10c25 (diff) | |
download | pkgsrc-50af634b67c7d91de3667a31299891481edb7703.tar.gz |
use grep >/dev/null instead of grep -q for the benefit of solaris
Diffstat (limited to 'pkgtools/createbuildlink')
-rwxr-xr-x | pkgtools/createbuildlink/files/createbuildlink | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/createbuildlink/files/createbuildlink b/pkgtools/createbuildlink/files/createbuildlink index 29f0e7c63d5..44db4e1dda2 100755 --- a/pkgtools/createbuildlink/files/createbuildlink +++ b/pkgtools/createbuildlink/files/createbuildlink @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: createbuildlink,v 1.21 2004/03/18 10:47:04 jlam Exp $ +# $NetBSD: createbuildlink,v 1.22 2004/04/27 03:51:24 dmcmahill Exp $ # # Copyright (c) 2002 The NetBSD Foundation, Inc. # All rights reserved. @@ -40,7 +40,7 @@ # and PLIST # -REV=`echo '$Revision: 1.21 $' | sed 's/\\$//g'` +REV=`echo '$Revision: 1.22 $' | sed 's/\\$//g'` tmpdir=/tmp spacesintab=8 makefile=Makefile @@ -108,7 +108,7 @@ PKGUPPER=`echo $PKGNOVER | tr '[:lower:]' '[:upper:]' | tr - _` PREFIX=X11PREFIX USE_X11BASE=`@MAKE@ show-var VARNAME=USE_X11BASE` if [ -z "$USE_X11BASE" ]; then - if ! grep -q "^USE_X11BASE" $makefile $commons ; then + if ! grep "^USE_X11BASE" $makefile $commons > /dev/null; then PREFIX=LOCALBASE fi fi |