aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2014-01-26 08:39:34 +0200
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2014-01-26 08:39:34 +0200
commite895fbf16a513233b237cb883401eeb461f4f545 (patch)
treeaecf3dc9398c0fc2ab3d3ee8312615a58846b2ec
parent9cb5aa40fb4dd9ad968b82d251026b3c2471de01 (diff)
downloadl-a-b-VPS-e895fbf16a513233b237cb883401eeb461f4f545.tar.gz
Make curl fail on errors (d'oh!)
Change-Id: If52abee6375d28ad368fa2d9287b0d8b2b944433
-rw-r--r--build-scripts/helpers2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index 7c826b5..9a762e4 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -150,7 +150,7 @@ download_overlays () {
local ifs_save="$IFS"
IFS=";"
for p in $1; do
- curl --silent --show-error \
+ curl --fail --silent --show-error \
-b license_accepted_$SOURCE_OVERLAY_ACCEPT_LICENSE=yes \
http://snapshots.linaro.org/android/binaries/$p > $(basename $p)
done