Bug #321145: Don't ignore exit status of filter-bash-environment.py and check-implici...
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Tue, 25 May 2010 17:43:07 +0000 (19:43 +0200)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Tue, 25 May 2010 17:43:07 +0000 (19:43 +0200)
bin/ebuild.sh
bin/misc-functions.sh

index d7ff593a4a5a215683694717557d57348aa9dda1..ae4fb55254500c100fa4237cf9e1f644f9f963f9 100755 (executable)
@@ -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
index 7fb61f69e466179f9fcc2d84fa145d19eef9c620..16d3016d5a05d40572837b89e62b0d51a593ff75 100755 (executable)
@@ -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,