From: Zac Medico Date: Mon, 7 Nov 2011 20:42:28 +0000 (-0800) Subject: best/has_version: fix eroot assignment X-Git-Tag: v2.2.0_alpha73~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19a890a63ab15603fccba89c69ab939ec16aefb5;p=portage.git best/has_version: fix eroot assignment --- diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index 6609dc77a..361aa3f06 100644 --- a/bin/phase-helpers.sh +++ b/bin/phase-helpers.sh @@ -610,7 +610,7 @@ has_version() { eroot=${ROOT} ;; *) - eroot=${ROOT%/}${EPREFIX#/}/ + eroot=${ROOT%/}${EPREFIX}/ ;; esac if [[ -n $PORTAGE_IPC_DAEMON ]] ; then @@ -644,7 +644,7 @@ best_version() { eroot=${ROOT} ;; *) - eroot=${ROOT%/}${EPREFIX#/}/ + eroot=${ROOT%/}${EPREFIX}/ ;; esac if [[ -n $PORTAGE_IPC_DAEMON ]] ; then