From 05429e01f239d2b00dd60d9e154f6ea02361a1d1 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 3 Jan 2014 17:10:09 +0100 Subject: [PATCH] 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" --- scripts/build/libc/eglibc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh index 6ba7e43e..d7960d96 100644 --- a/scripts/build/libc/eglibc.sh +++ b/scripts/build/libc/eglibc.sh @@ -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}" \