From 86c2d486f2731b0790c6a906f9fc96244a125b6f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Thu, 26 Jul 2012 18:55:43 +0200 Subject: [PATCH] buildtools: use egrep when we need the "-f patternfile" option MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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(-) diff --git a/buildtools/compare_config_h3.sh b/buildtools/compare_config_h3.sh index a56dd2a147d..45be1ec3441 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 -- 2.11.4.GIT