libc/eglibc: fix downloading of localedef addon

For the versions of eglibc where the ports addon is not external (ie,
all versions after, and including 2.17), we would fail to download the
localedef addon, since the test did not care about the addon we were
about to download, only whether the ports addon was external or not.

Fix that by skipping the ports addon only if that's the addon we're
trying to download.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
Yann E. MORIN" 2014-01-03 17:10:09 +01:00
parent 89e9d9851a
commit 05429e01f2

View File

@ -42,9 +42,9 @@ do_libc_get() {
nptl) continue;;
esac
case "${CT_LIBC_GLIBC_PORTS_EXTERNAL}" in
y) ;;
*) continue;;
case "${addon}:${CT_LIBC_GLIBC_PORTS_EXTERNAL}" in
ports:y) ;;
ports:*) continue;;
esac
if ! CT_GetSVN "eglibc-${addon}-${CT_LIBC_VERSION}" \