diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-13 00:17:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-13 00:17:50 +0000 |
commit | 37d641252bc008bcdb0db09be3bc2830154f94d1 (patch) | |
tree | 34fd81220f4e5239978b591684fd8f6434b3c64a /sys-devel/libtool/files | |
parent | add reference to Keychain Guide in pkg_postinst #59382 (diff) | |
download | historical-37d641252bc008bcdb0db09be3bc2830154f94d1.tar.gz historical-37d641252bc008bcdb0db09be3bc2830154f94d1.tar.bz2 historical-37d641252bc008bcdb0db09be3bc2830154f94d1.zip |
use $EGREP, not grep #77745
Diffstat (limited to 'sys-devel/libtool/files')
-rw-r--r-- | sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch index 290d040f6780..2da7b12c2332 100644 --- a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch +++ b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch @@ -14,7 +14,7 @@ + fi + # Do not add duplicates + if test "$mynewdependency_lib"; then -+ if test -z "`echo $newdependency_libs |grep -e "$mynewdependency_lib"`"; then ++ if test -z "`echo $newdependency_libs |$EGREP -e "$mynewdependency_lib"`"; then + newdependency_libs="$newdependency_libs $mynewdependency_lib" + fi + fi @@ -27,10 +27,10 @@ + S="$PWORKDIR" + fi + # We do not want portage's build root ($S) present. -+ if test -n "`echo $deplib |grep -e "$S"`" && test "$S"; then ++ if test -n "`echo $deplib |$EGREP -e "$S"`" && test "$S"; then + mynewdependency_lib="" + # We do not want portage's install root ($D) present. -+ elif test -n "`echo $deplib |grep -e "$D"`" && test "$D"; then ++ elif test -n "`echo $deplib |$EGREP -e "$D"`" && test "$D"; then + eval mynewdependency_lib="`echo "$deplib" |sed -e "s:$D::g" -e 's://:/:g'`" + else + mynewdependency_lib="$deplib" @@ -40,7 +40,7 @@ + fi + # Do not add duplicates + if test "$mynewdependency_lib"; then -+ if test -z "`echo $newdependency_libs |grep -e "$mynewdependency_lib"`"; then ++ if test -z "`echo $newdependency_libs |$EGREP -e "$mynewdependency_lib"`"; then + newdependency_libs="$newdependency_libs $mynewdependency_lib" + fi + fi |