From: Zac Medico Date: Sun, 11 Oct 2009 20:41:13 +0000 (-0000) Subject: Add some more EPYTHON safety. (trunk r14570) X-Git-Tag: v2.1.7.1~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5638c48039f0cd68e159ebf475c35277db23db0a;p=portage.git Add some more EPYTHON safety. (trunk r14570) svn path=/main/branches/2.1.7/; revision=14572 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 84b35355d..d026fddf5 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1632,7 +1632,7 @@ filter_readonly_variables() { " fi - "${PORTAGE_BIN_PATH}"/filter-bash-environment.py "${filtered_vars}" + EPYTHON= "${PORTAGE_BIN_PATH}"/filter-bash-environment.py "${filtered_vars}" } # @FUNCTION: preprocess_ebuild_env diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 174f28c04..671a06935 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -441,7 +441,7 @@ install_qa_check() { done [[ $reset_debug = 1 ]] && set -x f=$(cat "${PORTAGE_LOG_FILE}" | \ - "$PORTAGE_BIN_PATH"/check-implicit-pointer-usage.py) + EPYTHON= "$PORTAGE_BIN_PATH"/check-implicit-pointer-usage.py) if [[ -n ${f} ]] ; then # In the future this will be a forced "die". In preparation, @@ -710,7 +710,7 @@ dyn_package() { tar $tar_options -cf - $PORTAGE_BINPKG_TAR_OPTS -C "${D}" . | \ bzip2 -cf > "$PORTAGE_BINPKG_TMPFILE" assert "failed to pack binary package: '$PORTAGE_BINPKG_TMPFILE'" - PYTHONPATH=${PORTAGE_PYM_PATH}${PYTHONPATH:+:}${PYTHONPATH} \ + EPYTHON= PYTHONPATH=${PORTAGE_PYM_PATH}${PYTHONPATH:+:}${PYTHONPATH} \ python -c "from portage import xpak; t=xpak.tbz2('${PORTAGE_BINPKG_TMPFILE}'); t.recompose('${PORTAGE_BUILDDIR}/build-info')" if [ $? -ne 0 ]; then rm -f "${PORTAGE_BINPKG_TMPFILE}"