From 946097d191bea9e46768cef2ea174506dd6021bf Mon Sep 17 00:00:00 2001 From: Paul Varner Date: Mon, 20 Feb 2012 17:13:02 -0600 Subject: [PATCH] Fix euse -i to not print errors from 'cat' when determining the repository name --- bin/euse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2