summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 8601863a0..6752df9ae 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -148,7 +148,7 @@ useq() {
[[ ${EMERGE_FROM} != binary ]] ; then
# TODO: Implement PORTAGE_IUSE for binary packages. Currently,
# it is only valid for build time phases.
- echo "${u}" | egrep -q "${PORTAGE_IUSE}" || \
+ [[ $u =~ $PORTAGE_IUSE ]] || \
eqawarn "QA Notice: USE Flag '${u}' not" \
"in IUSE for ${CATEGORY}/${PF}"
fi