Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r14744 - main/branches/prefix/bin
Date: Wed, 28 Oct 2009 19:27:51
Message-Id: E1N3EBP-0000xn-03@stork.gentoo.org
1 Author: grobian
2 Date: 2009-10-28 19:27:43 +0000 (Wed, 28 Oct 2009)
3 New Revision: 14744
4
5 Modified:
6 main/branches/prefix/bin/misc-functions.sh
7 Log:
8 make sure we don't do the wrong thing when no libtool files are found, patch by Michael Haubenwallner
9
10 Modified: main/branches/prefix/bin/misc-functions.sh
11 ===================================================================
12 --- main/branches/prefix/bin/misc-functions.sh 2009-10-28 18:36:02 UTC (rev 14743)
13 +++ main/branches/prefix/bin/misc-functions.sh 2009-10-28 19:27:43 UTC (rev 14744)
14 @@ -616,7 +616,7 @@
15 # on AIX, "dynamic libs" have extention .a, so don't get false
16 # positives
17 [[ ${CHOST} == *-aix* ]] \
18 - && f=$(ls "${ED}"lib*/*.la 2>/dev/null) \
19 + && f=$(ls "${ED}"lib*/*.la 2>/dev/null || true) \
20 || f=$(ls "${ED}"lib*/*.{a,la} 2>/dev/null)
21 if [[ -n ${f} ]] ; then
22 vecho -ne '\a\n'