platform_vendor_tequila/build/tasks/http_curl_prebuilt.sh
Brandon McAnsh 66792510a9 http_prebuilt: Implement archive of artifacts
* checksum will be downloaded and asserted to prevent a
    redownload every clean
* Archives will exist (invisibly) at vendor/cm/prebuilt/archive

Change-Id: I637e86cacd146d665044a119885900dc4660e22b
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2017-01-09 13:42:29 +00:00

6 lines
144 B
Bash
Executable file

#!/bin/bash
url=$1
output=$2
curl -L "$url" --create-dirs -o $output --compressed -H "Accept-Encoding: gzip,deflate,sdch" && exit 0 || exit 1