diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ebuild-helpers/prepallstrip | 13 | ||||
-rwxr-xr-x | bin/ebuild-helpers/prepstrip | 9 | ||||
-rwxr-xr-x | bin/estrip | 4 |
3 files changed, 5 insertions, 21 deletions
diff --git a/bin/ebuild-helpers/prepallstrip b/bin/ebuild-helpers/prepallstrip index f22483a53..80fcecba6 100755 --- a/bin/ebuild-helpers/prepallstrip +++ b/bin/ebuild-helpers/prepallstrip @@ -4,14 +4,5 @@ source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1 -if ___eapi_has_dostrip; then - die "${0##*/}: ${0##*/} has been banned for EAPI '${EAPI}'; use 'dostrip' instead" -fi - -eqawarn "QA Notice: '${0##*/}' is not allowed in ebuild scope" - -if ! ___eapi_has_prefix_variables; then - ED=${D} -fi - -exec prepstrip "${ED}" +die "'${0##*/}' is not allowed in ebuild scope" +exit 1 diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip index 0da4c6516..80fcecba6 100755 --- a/bin/ebuild-helpers/prepstrip +++ b/bin/ebuild-helpers/prepstrip @@ -4,10 +4,5 @@ source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1 -if ___eapi_has_dostrip; then - die "${0##*/}: ${0##*/} has been banned for EAPI '${EAPI}'; use 'dostrip' instead" -fi - -eqawarn "QA Notice: '${0##*/}' is not allowed in ebuild scope" - -__PORTAGE_HELPER=prepstrip exec "${PORTAGE_BIN_PATH}"/estrip "${@}" +die "'${0##*/}' is not allowed in ebuild scope" +exit 1 diff --git a/bin/estrip b/bin/estrip index 8a2f5adc1..3ac6a1692 100755 --- a/bin/estrip +++ b/bin/estrip @@ -30,9 +30,8 @@ if ${PORTAGE_RESTRICT_strip} || ${FEATURES_nostrip} ; then ${FEATURES_installsources} || exit 0 fi -[[ ${__PORTAGE_HELPER} == prepstrip ]] && prepstrip=true || prepstrip=false +prepstrip=false -if ! ${prepstrip}; then while [[ $# -gt 0 ]] ; do case $1 in --ignore) @@ -130,7 +129,6 @@ while [[ $# -gt 0 ]] ; do shift done set -- "${ED}" -fi PRESERVE_XATTR=false if [[ ${KERNEL} == linux ]] && ${FEATURES_xattr} ; then |