Signed-off-by: Sergei Trofimovich --- modules/profile.eselect | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/profile.eselect b/modules/profile.eselect index e381474..7a05ac9 100644 --- a/modules/profile.eselect +++ b/modules/profile.eselect @@ -33,7 +33,7 @@ get_symlink_location() { get_repos() { # sort: DEFAULT_REPO first, then alphabetical order portageq get_repos "${ROOT:-/}" \ - | sed "s/[[:space:]]\+/\n/g;s/\b${DEFAULT_REPO}\b/ &/" \ + | sed "s/[[:space:]]\+/\n/g;s/^${DEFAULT_REPO}$/ &/" \ | LC_ALL=C sort [[ -z ${PIPESTATUS[@]#0} ]] } -- 1.7.8.4