die "${ECLASS}: banned in EAPI=${EAPI}; use eapply* instead";;
esac
+inherit estack
+
# @VARIABLE: EPATCH_SOURCE
# @DESCRIPTION:
# Default directory to search for patches.
# Let people filter things dynamically
if [[ -n ${EPATCH_EXCLUDE}${EPATCH_USER_EXCLUDE} ]] ; then
# let people use globs in the exclude
- local prev_noglob=$(shopt -p -o noglob)
- set -o noglob
+ eshopts_push -o noglob
local ex
for ex in ${EPATCH_EXCLUDE} ; do
if [[ ${patchname} == ${ex} ]] ; then
einfo " Skipping ${patchname} due to EPATCH_EXCLUDE ..."
- ${prev_noglob}
+ eshopts_pop
continue 2
fi
done
for ex in ${EPATCH_USER_EXCLUDE} ; do
if [[ ${patchname} == ${ex} ]] ; then
einfo " Skipping ${patchname} due to EPATCH_USER_EXCLUDE ..."
- ${prev_noglob}
+ eshopts_pop
continue 2
fi
done
- ${prev_noglob}
+ eshopts_pop
fi
if [[ ${SINGLE_PATCH} == "yes" ]] ; then