Fix download of files using up-to-date "curl" instead of "wget"

In few images, curl is only tool that able to download from https
source requiring TLS 1.2
This commit is contained in:
Jean-Christophe Fillion-Robin
2018-03-29 15:07:54 -04:00
committed by Francois Budin
parent 53990df0b8
commit 53d98cf4ff
7 changed files with 11 additions and 11 deletions

View File

@ -58,7 +58,7 @@ cd "${CTNG}"
# Download and install the "crosstool-ng" source.
REV=1.23.0
wget --progress=bar:force \
curl -# -LO \
"https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-${REV}.tar.gz"
tar -xf "crosstool-ng-${REV}.tar.gz"
cd "crosstool-ng-crosstool-ng-${REV}"