scripts/toolchain-config.in
author Austin Morton <austinpmorton@gmail.com>
Sun Aug 12 07:45:42 2012 -0400 (2012-08-12)
changeset 3048 2858a24a5846
parent 1189 5c20d52c8270
permissions -rw-r--r--
scripts: add option to only use the mirror

Currently, if downloads are forbidden, the mirror is still tried for.

Change this way:
- if downlaods forbidden, do not try neither upstream locations nor mirror
- add option to only use the mirror, and avoid upstream locations

Signed-off-by: Austin Morton <austinpmorton@gmail.com>
[yann.morin.1998@free.fr: broaden the if USE_MIRRORto enclode mirror location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 #!/bin/sh
     2 
     3 tail -n+5 "${0}" |bzcat
     4 exit 0