diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh index 101a2a33..0c357df0 100644 --- a/scripts/build/libc/eglibc.sh +++ b/scripts/build/libc/eglibc.sh @@ -26,8 +26,12 @@ do_libc_get() { "${CT_EGLIBC_REVISION:-HEAD}" for addon in $(do_libc_add_ons_list " "); do - # NPTL addon is not to be downloaded, in any case - [ "${addon}" = "nptl" ] && continue || true + # Never ever try to download these add-ons, + # they've always been internal + case "${addon}" in + nptl) continue;; + esac + if ! CT_GetSVN "eglibc-${addon}-${CT_LIBC_VERSION}" \ "${svn_base}/${addon}" \ "${CT_EGLIBC_REVISION:-HEAD}" diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index c50aa89b..195e6189 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -27,6 +27,12 @@ do_libc_get() { # C library addons for addon in "${addons_list[@]}"; do + # Never ever try to download these add-ons, + # they've always been internal + case "${addon}" in + nptl) continue;; + esac + if ! CT_GetFile "glibc-${addon}-${CT_LIBC_VERSION}" \ {ftp,http}://ftp.gnu.org/gnu/glibc \ ftp://gcc.gnu.org/pub/glibc/releases \