summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-04-15 18:01:50 +0000
committerSimon Stelling <blubb@gentoo.org>2006-04-15 18:01:50 +0000
commit1fd63a3706d0b16d441521a96c1ab3aa6cc91e39 (patch)
tree282d1008e5feb4bda0e9143d6597c41cce49d9ff
parent6756341298d0336c6f3ef77da56db6c766a82f8d (diff)
downloadportage-1fd63a3706d0b16d441521a96c1ab3aa6cc91e39.tar.gz
portage-1fd63a3706d0b16d441521a96c1ab3aa6cc91e39.tar.bz2
portage-1fd63a3706d0b16d441521a96c1ab3aa6cc91e39.zip
use has instead of bloated bash constructs
svn path=/main/trunk/; revision=3153
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 8aa7ee201..c90cbe4a9 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1070,9 +1070,7 @@ dyn_help() {
echo " c++ flags : ${CXXFLAGS}"
echo " make flags : ${MAKEOPTS}"
echo -n " build mode : "
- if [[ " ${FEATURES} " == *" nostrip "* ]] || \
- [[ " ${RESTRICT} " == *" nostrip "* ]] || \
- [[ " ${RESTRICT} " == *" strip "* ]]
+ if hasq nostrip ${FEATURES} ${RESTRICT} || hasq strip ${RESTRICT} ;
then
echo "debug (large)"
else