doenvd: use @PORTAGE_BASE@ iso /usr/lib/portage
authorFabian Groffen <grobian@gentoo.org>
Sun, 4 Dec 2011 09:19:03 +0000 (10:19 +0100)
committerFabian Groffen <grobian@gentoo.org>
Sun, 4 Dec 2011 09:19:03 +0000 (10:19 +0100)
bin/ebuild-helpers/doenvd

index 561e67df0809bb1169419cf503b1f04febf06327..31c57d55a8de926daacef5c934b3e71f4bdbda89 100755 (executable)
@@ -3,7 +3,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 if [[ $# -lt 1 ]] ; then
-       source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
+       source "${PORTAGE_BIN_PATH:-@PORTAGE_BASE@/bin}"/isolated-functions.sh
        helpers_die "${0##*/}: at least one argument needed"
        exit 1
 fi