commit: 61c34d8f4681860e6b45b8f63627bd0173d020df Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sun Oct 26 01:25:20 2014 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Mon Oct 27 09:46:37 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=61c34d8f
bin/bashrc-functions.sh: remove portageq function Since commit 0cc4c1ac21a2ea94cfb1f6ff4b461a9e349d47df, $PORTAGE_BIN_PATH/portageq no longer exists, which breaks the portageq shell function inside bashrc-functions.sh. Note that $PORTAGE_BIN_PATH/ebuild-helpers/portageq is in $PATH, so we can simply remove the redundant function. Fixes: 0cc4c1a ("Install Portage using setup.py") X-Gentoo-Bug: 524964 X-Gentoo-URL: https://bugs.gentoo.org/show_bug.cgi?id=524964 Acked-by: Alexander Berntsen <bernalex <AT> gentoo.org> --- bin/bashrc-functions.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bin/bashrc-functions.sh b/bin/bashrc-functions.sh index 503b172..cc02546 100644 --- a/bin/bashrc-functions.sh +++ b/bin/bashrc-functions.sh @@ -1,12 +1,7 @@ #!/bin/bash -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -portageq() { - PYTHONPATH=${PORTAGE_PYTHONPATH:-${PORTAGE_PYM_PATH}}\ - "${PORTAGE_PYTHON:-/usr/bin/python}" "${PORTAGE_BIN_PATH}/portageq" "$@" -} - register_die_hook() { local x for x in $* ; do