summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-30 08:38:20 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-30 08:38:20 +0000
commit70e6dda08c5a169385fbb5e41fa9ea3d07f634fa (patch)
tree78c4d154c8d82674aae9f152b9304b308e8c02d1 /bin/misc-functions.sh
parentPrint [ OK ] messages (like eend) when checksums are good. Thanks to fox2mik... (diff)
downloadportage-multirepo-70e6dda08c5a169385fbb5e41fa9ea3d07f634fa.tar.gz
portage-multirepo-70e6dda08c5a169385fbb5e41fa9ea3d07f634fa.tar.bz2
portage-multirepo-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-xbin/misc-functions.sh3
1 files changed, 2 insertions, 1 deletions
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() {