From 70e6dda08c5a169385fbb5e41fa9ea3d07f634fa Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 30 Apr 2006 08:38:20 +0000 Subject: Add PORTAGE_BIN_PATH and PORTAGE_PYM_PATH to the enviroment and use them to replace hard coded paths in ebuild.sh and misc-functions.sh. svn path=/main/trunk/; revision=3280 --- bin/misc-functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/misc-functions.sh') diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 50d9e037..0a4c9ff9 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -14,7 +14,8 @@ # XXX hack: clear the args so ebuild.sh doesn't see them MISC_FUNCTIONS_ARGS="$@" shift $# -source /usr/lib/portage/bin/ebuild.sh + +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}/ebuild.sh" install_qa_check() { -- cgit v1.2.3-65-gdbad