scripts/crosstool-NG.sh.in
changeset 1662 ea3490d46f4e
parent 1517 9a2838d971d4
child 1663 e94f4ffddd1d
     1.1 --- a/scripts/crosstool-NG.sh.in	Sun Sep 06 16:49:54 2009 +0200
     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