summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-14 11:13:01 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-14 11:13:01 -0700
commitdf8fe2b2465df7af4f1f7fadba999ae9a1235d10 (patch)
treebb78af90b2ea11549fe48f00e95178f21f6d10fa /bin/ebuild.sh
parent4b95add5d694f0b02936fad073dabf198728da12 (diff)
downloadportage-df8fe2b2465df7af4f1f7fadba999ae9a1235d10.tar.gz
portage-df8fe2b2465df7af4f1f7fadba999ae9a1235d10.tar.bz2
portage-df8fe2b2465df7af4f1f7fadba999ae9a1235d10.zip
Pass $USE via IPC in order to ensure that we have the correct value for
built/installed packages, since the config class doesn't currently provide a way to access built/installed $USE that would work in all possible scenarios.
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 32cda5012..18f96b655 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -160,7 +160,7 @@ has_version() {
fi
if [[ -n $PORTAGE_IPC_DAEMON ]] ; then
- "$PORTAGE_BIN_PATH"/ebuild-ipc has_version "$ROOT" "$1"
+ "$PORTAGE_BIN_PATH"/ebuild-ipc has_version "$ROOT" "$1" "$USE"
return $?
fi
@@ -203,7 +203,7 @@ best_version() {
fi
if [[ -n $PORTAGE_IPC_DAEMON ]] ; then
- "$PORTAGE_BIN_PATH"/ebuild-ipc best_version "$ROOT" "$1"
+ "$PORTAGE_BIN_PATH"/ebuild-ipc best_version "$ROOT" "$1" "$USE"
return $?
fi