# HG changeset patch # User "Yann E. MORIN" # Date 1388765409 -3600 # Node ID dff359adf15c2dc7e7ec663dec34ae1438ba051e # Parent 6bf3336283c26233a06e6cdc2cfc3cdf536ff17e 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" diff -r 6bf3336283c2 -r dff359adf15c scripts/build/libc/eglibc.sh --- a/scripts/build/libc/eglibc.sh Fri Jan 03 10:57:48 2014 +0100 +++ b/scripts/build/libc/eglibc.sh Fri Jan 03 17:10:09 2014 +0100 @@ -42,9 +42,9 @@ 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}" \