From a2e19fa5ce1be70d45e3e94b268f5c120e7c640f Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sat, 11 Apr 2015 16:21:17 +0100 Subject: profiles/common: profile.bashrc: Use portageq from ebuild-helper for a better consitency. --- profiles/common/profile.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profiles/common') diff --git a/profiles/common/profile.bashrc b/profiles/common/profile.bashrc index 55ea255d..91bf3801 100644 --- a/profiles/common/profile.bashrc +++ b/profiles/common/profile.bashrc @@ -96,7 +96,7 @@ function __drop-empty-dir () { } function __install_own_file () { - local _PROFILE_PATH="$(portageq get_repo_path / as29 2> /dev/null)" + local _PROFILE_PATH="$("${PORTAGE_BIN_PATH}/ebuild-helpers/portageq" get_repo_path "${EROOT:-/}" as29)" if [[ $? != 0 || ! ${_PROFILE_PATH} ]] ; then return 1 -- cgit v1.2.3