diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/euse | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -842,7 +842,8 @@ showinstdesc() { while [ -n "${1}" ]; do case "${SCOPE}" in "global") - if desc=$(grep "^${1} *-" ${PORTAGE_REPO_PATHS[@]/%//profiles/use.desc}); then + local desc=$(grep "^${1} *-" ${PORTAGE_REPO_PATHS[@]/%//profiles/use.desc} 2>/dev/null) + if [ ! -z "${desc}" ]; then get_flagstatus "${1}" echo "$desc" # get list of installed packages matching this USE flag. |
