make sure we don't do the wrong thing when no libtool files are found, patch by Micha...
authorFabian Groffen <grobian@gentoo.org>
Wed, 28 Oct 2009 19:27:43 +0000 (19:27 -0000)
committerFabian Groffen <grobian@gentoo.org>
Wed, 28 Oct 2009 19:27:43 +0000 (19:27 -0000)
svn path=/main/branches/prefix/; revision=14744

bin/misc-functions.sh

index 8e658f408db1260388daa63fceb4e6bc54dab085..8be1176dc8f9ec8c5d99562582059d7ee46ffef8 100644 (file)
@@ -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'