pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/createbuildlink/files use grep >/dev/null ins...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0668cc2b7874
branches:  trunk
changeset: 474271:0668cc2b7874
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Apr 27 03:51:24 2004 +0000

description:
use grep >/dev/null instead of grep -q for the benefit of solaris

diffstat:

 pkgtools/createbuildlink/files/createbuildlink |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 2dda94e3376e -r 0668cc2b7874 pkgtools/createbuildlink/files/createbuildlink
--- a/pkgtools/createbuildlink/files/createbuildlink    Tue Apr 27 03:43:53 2004 +0000
+++ b/pkgtools/createbuildlink/files/createbuildlink    Tue Apr 27 03:51:24 2004 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index