of egrep since apparently it's compatible in this case. Thanks to
igli for this. (trunk r9279)
svn path=/main/branches/2.1.2/; revision=9305
[[ ${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