Fix one more potential false glob match.
authorZac Medico <zmedico@gentoo.org>
Sat, 6 Jan 2007 00:30:12 +0000 (00:30 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 6 Jan 2007 00:30:12 +0000 (00:30 -0000)
svn path=/main/trunk/; revision=5467

bin/misc-functions.sh

index 68078714b5e61b2a0ffdf754b096bbaeb26dafd7..388b94ec2a743456ff0ff3453a005629dd3e333e 100755 (executable)
@@ -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'