From: Simon Stelling Date: Sat, 15 Apr 2006 18:01:50 +0000 (-0000) Subject: use has instead of bloated bash constructs X-Git-Tag: v2.1_pre9~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1fd63a3706d0b16d441521a96c1ab3aa6cc91e39;p=portage.git use has instead of bloated bash constructs svn path=/main/trunk/; revision=3153 --- 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