summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2014-01-03 16:10:09 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2014-01-03 16:10:09 (GMT)
commit05429e01f239d2b00dd60d9e154f6ea02361a1d1 (patch)
treeba5bba7ceee8e81a5a08202466e58359952c3513
parent89e9d9851ad4cf67c2cac34f635def2e5e669948 (diff)
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>
-rw-r--r--scripts/build/libc/eglibc.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh
index 6ba7e43..d7960d9 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}" \