diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-06-01 02:31:26 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-06-10 19:57:16 -0400 |
commit | 62769c609dd770a5f225028f6701af06a0dd8e9c (patch) | |
tree | 9b8b3775641ed8194aa700084a239b61d1f9289c /bin/misc-functions.sh | |
parent | _LazyImportFrom._get_target: handle submodule import (bug 550906) (diff) | |
download | portage-62769c609dd770a5f225028f6701af06a0dd8e9c.tar.gz portage-62769c609dd770a5f225028f6701af06a0dd8e9c.tar.bz2 portage-62769c609dd770a5f225028f6701af06a0dd8e9c.zip |
require PORTAGE_{BIN,PYM}_PATH not be cleared
Rather than hardcode a full path everywhere as a fallback, assume the
value is always set to the right location. The current path isn't the
right place anymore already.
If it turns out we want to support this scenario, we can do it via a
bunch of bootstrapping (and symlinked) files.
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-x | bin/misc-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 24941af9b..9b79351b8 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -14,7 +14,7 @@ MISC_FUNCTIONS_ARGS="$@" shift $# -source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}/ebuild.sh" +source "${PORTAGE_BIN_PATH}/ebuild.sh" || exit 1 install_symlink_html_docs() { if ! ___eapi_has_prefix_variables; then |