From f3f13f5754e47a913c8b56af1e7c69f83ddfa6c1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 11 Oct 2009 23:55:30 +0000 Subject: [PATCH] Use a shell script wrapper for EPYTHON handling. svn path=/main/trunk/; revision=14585 --- bin/ebuild-helpers/portageq | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) mode change 120000 => 100755 bin/ebuild-helpers/portageq diff --git a/bin/ebuild-helpers/portageq b/bin/ebuild-helpers/portageq deleted file mode 120000 index 4d1273c48..000000000 --- a/bin/ebuild-helpers/portageq +++ /dev/null @@ -1 +0,0 @@ -../portageq \ No newline at end of file diff --git a/bin/ebuild-helpers/portageq b/bin/ebuild-helpers/portageq new file mode 100755 index 000000000..f5a60200d --- /dev/null +++ b/bin/ebuild-helpers/portageq @@ -0,0 +1,11 @@ +#!/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" "$@" -- 2.26.2