From: Zac Medico Date: Sat, 6 Jan 2007 00:30:12 +0000 (-0000) Subject: Fix one more potential false glob match. X-Git-Tag: v2.1.2~154 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=332727917fd8674d16576b94a7e2b5e2ce8601bf;p=portage.git Fix one more potential false glob match. svn path=/main/trunk/; revision=5467 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 68078714b..388b94ec2 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -167,6 +167,7 @@ install_qa_check() { # Run some sanity checks on shared libraries for d in "${D}"lib* "${D}"usr/lib* ; do + [[ ! -d ${d} ]] && continue f=$(scanelf -ByF '%S %p' "${d}"/lib*.so* | gawk '$2 == "" { print }') if [[ -n ${f} ]] ; then vecho -ne '\a\n'