diff options
author | 2012-12-06 22:02:55 +0100 | |
---|---|---|
committer | 2012-12-06 22:02:55 +0100 | |
commit | ee66576015a6dc576e76ac1539412ec32ba466d9 (patch) | |
tree | f549e6ac1d92d60d2238e45c32717f9548ab4b0b /modules/profile.eselect | |
parent | Update version to 1.3.3. (diff) | |
download | eselect-ee66576015a6dc576e76ac1539412ec32ba466d9.tar.gz eselect-ee66576015a6dc576e76ac1539412ec32ba466d9.tar.bz2 eselect-ee66576015a6dc576e76ac1539412ec32ba466d9.zip |
Use EROOT in profile module to make it work in Prefix, bug 444620.
* modules/profile.eselect (get_repos, get_repo_path): Use EROOT
to make it work in Prefix, fixes bug 444620. Thanks to Greg Turner
<gmturner007@ameritech.net> for bug report and patch.
Diffstat (limited to 'modules/profile.eselect')
-rw-r--r-- | modules/profile.eselect | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile.eselect b/modules/profile.eselect index 6db3dd5..4d21cd1 100644 --- a/modules/profile.eselect +++ b/modules/profile.eselect @@ -29,7 +29,7 @@ get_symlink_location() { # get list of repositories get_repos() { # sort: DEFAULT_REPO first, then alphabetical order - portageq get_repos "${ROOT:-/}" \ + portageq get_repos "${EROOT:-/}" \ | sed "s/[[:space:]]\+/\n/g;s/^${DEFAULT_REPO}\$/ &/gm" \ | LC_ALL=C sort [[ -z ${PIPESTATUS[@]#0} ]] @@ -37,7 +37,7 @@ get_repos() { # get paths for a given list of repositories get_repo_path() { - portageq get_repo_path "${ROOT:-/}" "$@" + portageq get_repo_path "${EROOT:-/}" "$@" } # get a list of valid profiles |