summaryrefslogtreecommitdiff
path: root/bin/euse
diff options
context:
space:
mode:
authorPaul Varner <fuzzyray@gentoo.org>2012-02-20 17:13:02 -0600
committerPaul Varner <fuzzyray@gentoo.org>2012-02-20 17:13:02 -0600
commit946097d191bea9e46768cef2ea174506dd6021bf (patch)
tree3c9d6b670ea9b57b504a679fdcb13bdab703b55f /bin/euse
parent3e51df74595c535656ef9f38bf7a577a4f64d0f5 (diff)
downloadgentoolkit-946097d191bea9e46768cef2ea174506dd6021bf.tar.gz
Fix euse -i to not print errors from 'cat' when determining the repository name
Diffstat (limited to 'bin/euse')
-rwxr-xr-xbin/euse2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/euse b/bin/euse
index 0f59c91..25b718b 100755
--- a/bin/euse
+++ b/bin/euse
@@ -384,7 +384,7 @@ get_useflaglist_ebuild() {
local pkg=$(echo ${1} | cut -d/ -f2)
declare append
for portdir in ${ALL_PORTDIRS[@]}; do
- if [[ -s $(dirname ${portdir}/repo_name) ]]; then
+ if [[ -s "${portdir}/profiles/repo_name" ]]; then
overlay="$(cat "${portdir}/profiles/repo_name")"
else
# XXX: May be better to use full path