diff options
author | Simon Stelling <blubb@gentoo.org> | 2006-04-15 18:01:50 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2006-04-15 18:01:50 +0000 |
commit | 1fd63a3706d0b16d441521a96c1ab3aa6cc91e39 (patch) | |
tree | 282d1008e5feb4bda0e9143d6597c41cce49d9ff | |
parent | 6756341298d0336c6f3ef77da56db6c766a82f8d (diff) | |
download | portage-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-x | bin/ebuild.sh | 4 |
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 |