From: Arfrever Frehtes Taifersar Arahesis Date: Tue, 25 May 2010 17:43:07 +0000 (+0200) Subject: Bug #321145: Don't ignore exit status of filter-bash-environment.py and check-implici... X-Git-Tag: v2.2_rc68~573 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=451f102ad2e3bf62c9c6bdf5b1786c88352bad10;p=portage.git Bug #321145: Don't ignore exit status of filter-bash-environment.py and check-implicit-pointer-usage.py. --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index d7ff593a4..ae4fb5525 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1689,7 +1689,7 @@ filter_readonly_variables() { " fi - EPYTHON= "${PORTAGE_BIN_PATH}"/filter-bash-environment.py "${filtered_vars}" + EPYTHON= "${PORTAGE_BIN_PATH}"/filter-bash-environment.py "${filtered_vars}" || die "filter-bash-environment.py failed" } # @FUNCTION: preprocess_ebuild_env diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 7fb61f69e..16d3016d5 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -452,7 +452,7 @@ install_qa_check() { done [[ $reset_debug = 1 ]] && set -x f=$(cat "${PORTAGE_LOG_FILE}" | \ - EPYTHON= "$PORTAGE_BIN_PATH"/check-implicit-pointer-usage.py) + EPYTHON= "$PORTAGE_BIN_PATH"/check-implicit-pointer-usage.py || die "check-implicit-pointer-usage.py failed") if [[ -n ${f} ]] ; then # In the future this will be a forced "die". In preparation,