summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-13 00:17:50 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-13 00:17:50 +0000
commit3abf7b680faa798661e9cc84e7e6120c6360a426 (patch)
tree6493587b639cecc93c7e32864142f6b6546afe8a /sys-devel/libtool/files
parentadd reference to Keychain Guide in pkg_postinst #59382 (Manifest recommit) (diff)
downloadgentoo-2-3abf7b680faa798661e9cc84e7e6120c6360a426.tar.gz
gentoo-2-3abf7b680faa798661e9cc84e7e6120c6360a426.tar.bz2
gentoo-2-3abf7b680faa798661e9cc84e7e6120c6360a426.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.patch8
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