Add missing EPREFIX
authorFabian Groffen <grobian@gentoo.org>
Thu, 8 May 2008 19:24:12 +0000 (19:24 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 8 May 2008 19:24:12 +0000 (19:24 -0000)
svn path=/main/branches/prefix/; revision=10245

bin/dodoc

index 11cb110f0500e8ee166b464b6984f799fb88beab..01fe8c538b7a65dc3e41754377b1f4a51f9b8a09 100755 (executable)
--- a/bin/dodoc
+++ b/bin/dodoc
@@ -4,7 +4,7 @@
 # $Id$
 
 if [ $# -lt 1 ] ; then
-       source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
+       source "${PORTAGE_BIN_PATH:-${EPREFIX}/usr/lib/portage/bin}"/isolated-functions.sh
        vecho "${0##*/}: at least one argument needed" 1>&2
        exit 1  
 fi