diff options
-rw-r--r-- | scripts/functions | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions index ffe5441..199aa57 100644 --- a/scripts/functions +++ b/scripts/functions @@ -556,6 +556,7 @@ CT_GetFile() { for ext in ${first_ext} .tar.bz2 .tar.gz .tgz .tar ''; do # Try all urls in turn for url in ${URLS}; do + [ -n "${url}" ] || continue CT_DoLog DEBUG "Trying '${url}/${file}${ext}'" CT_DoGetFile "${url}/${file}${ext}" if [ -f "${CT_TARBALLS_DIR}/${file}${ext}" ]; then |