diff -urpN eselect-1.3.3.orig/modules/profile.eselect eselect-1.3.3/modules/profile.eselect --- eselect-1.3.3.orig/modules/profile.eselect 2012-10-11 21:47:08.000000000 +0200 +++ eselect-1.3.3/modules/profile.eselect 2012-11-24 22:08:22.264015335 +0100 @@ -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