diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-14 09:20:49 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-14 09:20:49 -0700 |
commit | e38aa7eef4b9ddf873cc0958ef4511e4577106ff (patch) | |
tree | f0f1e3713b2682bb8fc9873994eba78be2a58595 /bin/ebuild.sh | |
parent | 553c12294d16a652109d14a43ce4fdf7bc73ebea (diff) | |
download | portage-e38aa7eef4b9ddf873cc0958ef4511e4577106ff.tar.gz portage-e38aa7eef4b9ddf873cc0958ef4511e4577106ff.tar.bz2 portage-e38aa7eef4b9ddf873cc0958ef4511e4577106ff.zip |
Add a QueryCommand.settings attribute and use it so that $USE
doesn't have to be passed to the daemon in has_version and
best_version calls.
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 18f96b655..32cda5012 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" "$USE" + "$PORTAGE_BIN_PATH"/ebuild-ipc has_version "$ROOT" "$1" return $? fi @@ -203,7 +203,7 @@ best_version() { fi if [[ -n $PORTAGE_IPC_DAEMON ]] ; then - "$PORTAGE_BIN_PATH"/ebuild-ipc best_version "$ROOT" "$1" "$USE" + "$PORTAGE_BIN_PATH"/ebuild-ipc best_version "$ROOT" "$1" return $? fi |