diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-11 23:55:30 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-11 23:55:30 +0000 |
commit | f3f13f5754e47a913c8b56af1e7c69f83ddfa6c1 (patch) | |
tree | a58e48b2d92ea4162106bdec2c9f2661d86fee9f | |
parent | 14453c3c9ba6032874ea4d1621187053ffc7d266 (diff) | |
download | portage-f3f13f5754e47a913c8b56af1e7c69f83ddfa6c1.tar.gz portage-f3f13f5754e47a913c8b56af1e7c69f83ddfa6c1.tar.bz2 portage-f3f13f5754e47a913c8b56af1e7c69f83ddfa6c1.zip |
Use a shell script wrapper for EPYTHON handling.
svn path=/main/trunk/; revision=14585
-rwxr-xr-x[l---------] | bin/ebuild-helpers/portageq | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/portageq b/bin/ebuild-helpers/portageq index 4d1273c48..f5a60200d 120000..100755 --- a/bin/ebuild-helpers/portageq +++ b/bin/ebuild-helpers/portageq @@ -1 +1,11 @@ -../portageq
\ No newline at end of file +#!/bin/bash +# Copyright 2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 dohtml doesn't try +# to use potentially unsupported version of Python. +EPYTHON= PYTHONPATH=$PORTAGE_PYM_PATH${PYTHONPATH:+:}$PYTHONPATH \ + exec "$PORTAGE_BIN_PATH/portageq" "$@" |