From 1fd63a3706d0b16d441521a96c1ab3aa6cc91e39 Mon Sep 17 00:00:00 2001 From: Simon Stelling Date: Sat, 15 Apr 2006 18:01:50 +0000 Subject: use has instead of bloated bash constructs svn path=/main/trunk/; revision=3153 --- bin/ebuild.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bin/ebuild.sh') 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 -- cgit v1.2.3-1-g7c22