diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-04-30 08:38:20 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-04-30 08:38:20 +0000 |
commit | 70e6dda08c5a169385fbb5e41fa9ea3d07f634fa (patch) | |
tree | 78c4d154c8d82674aae9f152b9304b308e8c02d1 /bin/misc-functions.sh | |
parent | 50411e6d3b8dbf27a95ffe85280712be2594feea (diff) | |
download | portage-70e6dda08c5a169385fbb5e41fa9ea3d07f634fa.tar.gz portage-70e6dda08c5a169385fbb5e41fa9ea3d07f634fa.tar.bz2 portage-70e6dda08c5a169385fbb5e41fa9ea3d07f634fa.zip |
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
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-x | bin/misc-functions.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 50d9e0379..0a4c9ff94 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() { |