summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-14 04:58:30 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-14 04:58:30 +0000
commit1af6c762ba383da9b6b058dcc2b4e4b24291a61b (patch)
tree3deb6692e94cd08eea31561368d665b1f22c4eab /eclass
parentMark 1.0.8-r1 stable on alpha (diff)
downloadhistorical-1af6c762ba383da9b6b058dcc2b4e4b24291a61b.tar.gz
historical-1af6c762ba383da9b6b058dcc2b4e4b24291a61b.tar.bz2
historical-1af6c762ba383da9b6b058dcc2b4e4b24291a61b.zip
use test instead of [
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ELT-patches/portage/1.5.102
-rw-r--r--eclass/ELT-patches/sed/1.5.64
2 files changed, 3 insertions, 3 deletions
diff --git a/eclass/ELT-patches/portage/1.5.10 b/eclass/ELT-patches/portage/1.5.10
index 24a7fd73b7d4..56a19c731a81 100644
--- a/eclass/ELT-patches/portage/1.5.10
+++ b/eclass/ELT-patches/portage/1.5.10
@@ -13,7 +13,7 @@ name should be bumped, but the patch content should stay fairly the same.
exit 1
fi
- newdependency_libs="$newdependency_libs $libdir/$name"
-+ if [ "x$EGREP" = x ] ; then
++ if test "x$EGREP" = x ; then
+ EGREP=egrep
+ fi
+ # We do not want portage's install root ($D) present. Check only for
diff --git a/eclass/ELT-patches/sed/1.5.6 b/eclass/ELT-patches/sed/1.5.6
index 0aa65c99fe96..5efd5310dcff 100644
--- a/eclass/ELT-patches/sed/1.5.6
+++ b/eclass/ELT-patches/sed/1.5.6
@@ -5,10 +5,10 @@
SED=sed
fi
+# Same for EGREP, and just to be sure, do LTCC as well
-+if [ "x$EGREP" = x ] ; then
++if test "x$EGREP" = x ; then
+ EGREP=egrep
+fi
-+if [ "x$LTCC" = x ] ; then
++if test "x$LTCC" = x ; then
+ LTCC=${CC-gcc}
+fi