projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6756341
)
use has instead of bloated bash constructs
author
Simon Stelling
<blubb@gentoo.org>
Sat, 15 Apr 2006 18:01:50 +0000
(18:01 -0000)
committer
Simon Stelling
<blubb@gentoo.org>
Sat, 15 Apr 2006 18:01:50 +0000
(18:01 -0000)
svn path=/main/trunk/; revision=3153
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index 8aa7ee2011fd2bd688675cb2f91afe2303282e52..c90cbe4a92eea88d6afd7f0dcd88c632887675f0 100755
(executable)
--- 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