diff options
Diffstat (limited to 'modules/profile.eselect')
-rw-r--r-- | modules/profile.eselect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile.eselect b/modules/profile.eselect index 5adccd1..6db3dd5 100644 --- a/modules/profile.eselect +++ b/modules/profile.eselect @@ -95,7 +95,7 @@ set_symlink() { repopath=$(get_repo_path "${repo}") || die -q "get_repo_path failed" # do a reverse lookup and find the arch associated with ${target} parch=$(sed -n -e \ - "s|^\([[:alnum:]]\+\)[[:space:]].*${target}[[:space:]].*$|\1|p" \ + "s|^\([[:alnum:]_-]\+\)[[:space:]].*${target}[[:space:]].*$|\1|p" \ "${repopath}/profiles/profiles.desc") [[ ${arch} != "${parch}" && -z ${force} ]] \ && die -q "${target} is not a valid profile for ${arch}" |