summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-ipc
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2010-08-14 00:28:36 +0200
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2010-08-14 00:28:36 +0200
commit1aca7a6adf643afde027778f1acbde7226dcea72 (patch)
treefddc8859a1be3657d6e4e71221c8a2e5ec12d628 /bin/ebuild-ipc
parent6ec700e140ac8679907032af18df831677c421c9 (diff)
downloadportage-1aca7a6adf643afde027778f1acbde7226dcea72.tar.gz
portage-1aca7a6adf643afde027778f1acbde7226dcea72.tar.bz2
portage-1aca7a6adf643afde027778f1acbde7226dcea72.zip
Ensure that all Python processes use the same version of Python.
Diffstat (limited to 'bin/ebuild-ipc')
-rwxr-xr-xbin/ebuild-ipc6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/ebuild-ipc b/bin/ebuild-ipc
index b828a35cd..45d0f15b8 100755
--- a/bin/ebuild-ipc
+++ b/bin/ebuild-ipc
@@ -4,7 +4,5 @@
PORTAGE_BIN_PATH=${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}
PORTAGE_PYM_PATH=${PORTAGE_PYM_PATH:-/usr/lib/portage/pym}
-# Set EPYTHON variable as empty so that ebuild-ipc.py doesn't try
-# to use potentially unsupported version of Python.
-EPYTHON= PYTHONPATH=$PORTAGE_PYM_PATH${PYTHONPATH:+:}$PYTHONPATH \
- exec "$PORTAGE_BIN_PATH/ebuild-ipc.py" "$@"
+PYTHONPATH=$PORTAGE_PYM_PATH${PYTHONPATH:+:}$PYTHONPATH \
+ exec "$PORTAGE_PYTHON" "$PORTAGE_BIN_PATH/ebuild-ipc.py" "$@"