From 86c2d486f2731b0790c6a906f9fc96244a125b6f Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Thu, 26 Jul 2012 18:55:43 +0200 Subject: buildtools: use egrep when we need the "-f patternfile" option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Solaris' default grep doesn't know the -f option Autobuild-User(master): Björn Jacke Autobuild-Date(master): Thu Jul 26 20:49:18 CEST 2012 on sn-devel-104 --- buildtools/compare_config_h3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildtools') diff --git a/buildtools/compare_config_h3.sh b/buildtools/compare_config_h3.sh index a56dd2a147..45be1ec344 100755 --- a/buildtools/compare_config_h3.sh +++ b/buildtools/compare_config_h3.sh @@ -19,8 +19,8 @@ if test "x$DIFF" = "x" ; then DIFF="comm -23" fi -grep "^.define" $NEW_CONFIG | grep -v -f $EXCEPTIONS | sort > waf-config.h -grep "^.define" $OLD_CONFIG | grep -v -f $EXCEPTIONS | sort > old-config.h +grep "^.define" $NEW_CONFIG | egrep -v -f $EXCEPTIONS | sort > waf-config.h +grep "^.define" $OLD_CONFIG | egrep -v -f $EXCEPTIONS | sort > old-config.h $DIFF old-config.h waf-config.h rm -f old-config.h waf-config.h -- cgit