summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-07-26 18:55:43 +0200
committerBjoern Jacke <bj@sernet.de>2012-07-26 20:49:17 +0200
commit86c2d486f2731b0790c6a906f9fc96244a125b6f (patch)
tree03408d61d829fbab4d40e100d10117715cee4946
parent4f0b8f30c981249012c958768e58857d5b4c27f5 (diff)
downloadsamba-86c2d486f2731b0790c6a906f9fc96244a125b6f.tar.gz
samba-86c2d486f2731b0790c6a906f9fc96244a125b6f.tar.bz2
samba-86c2d486f2731b0790c6a906f9fc96244a125b6f.zip
buildtools: use egrep when we need the "-f patternfile" option
Solaris' default grep doesn't know the -f option Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jul 26 20:49:18 CEST 2012 on sn-devel-104
-rwxr-xr-xbuildtools/compare_config_h3.sh4
1 files changed, 2 insertions, 2 deletions
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