From: Fabian Groffen Date: Wed, 28 Oct 2009 19:27:43 +0000 (-0000) Subject: make sure we don't do the wrong thing when no libtool files are found, patch by Micha... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=02a9ad7aabd2475cb99300684992c80a6ef70324;p=portage.git make sure we don't do the wrong thing when no libtool files are found, patch by Michael Haubenwallner svn path=/main/branches/prefix/; revision=14744 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 8e658f408..8be1176dc 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -616,7 +616,7 @@ install_qa_check() { # on AIX, "dynamic libs" have extention .a, so don't get false # positives [[ ${CHOST} == *-aix* ]] \ - && f=$(ls "${ED}"lib*/*.la 2>/dev/null) \ + && f=$(ls "${ED}"lib*/*.la 2>/dev/null || true) \ || f=$(ls "${ED}"lib*/*.{a,la} 2>/dev/null) if [[ -n ${f} ]] ; then vecho -ne '\a\n'