From 02a9ad7aabd2475cb99300684992c80a6ef70324 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Wed, 28 Oct 2009 19:27:43 +0000 Subject: [PATCH] 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 --- bin/misc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.26.2