1.1 --- a/scripts/crosstool-NG.sh.in Thu Dec 10 15:09:13 2009 +0100
1.2 +++ b/scripts/crosstool-NG.sh.in Mon Dec 14 19:17:37 2009 +0100
1.3 @@ -168,8 +168,10 @@
1.4 fi
1.5
1.6 # If the local tarball directory does not exist, say so, and don't try to save there!
1.7 -if [ ! -d "${CT_LOCAL_TARBALLS_DIR}" ]; then
1.8 - CT_DoLog WARN "Directory '${CT_LOCAL_TARBALLS_DIR}' does not exist. Will not save downloaded tarballs to local storage."
1.9 +if [ "${CT_SAVE_TARBALLS}" = "y" \
1.10 + -a ! -d "${CT_LOCAL_TARBALLS_DIR}" ]; then
1.11 + CT_DoLog WARN "Directory '${CT_LOCAL_TARBALLS_DIR}' does not exist."
1.12 + CT_DoLog WARN "Will not save downloaded tarballs to local storage."
1.13 CT_SAVE_TARBALLS=
1.14 fi
1.15