summaryrefslogtreecommitdiff
path: root/profiles/common
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2015-04-11 16:21:17 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2015-04-11 16:59:48 +0100
commita2e19fa5ce1be70d45e3e94b268f5c120e7c640f (patch)
tree3f6a713099780ba767f1a5c8c1890407ff01918b /profiles/common
parentmetadata: refresh cache (diff)
downloadportage-a2e19fa5ce1be70d45e3e94b268f5c120e7c640f.tar.xz
profiles/common: profile.bashrc: Use portageq from ebuild-helper for a
better consitency.
Diffstat (limited to 'profiles/common')
-rw-r--r--profiles/common/profile.bashrc2
1 files changed, 1 insertions, 1 deletions
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