aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-03-08 20:26:07 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-03-08 20:26:07 +0530
commit66ca2106195b67564921b4423c289a77f0e4d7cf (patch)
tree85b47db42d15f627431f96e9104a3dc5c250e690
parentcebb636153514433c5565ef12bf28d7ff54b007c (diff)
downloadlinaro-android-build-tools-66ca2106195b67564921b4423c289a77f0e4d7cf.tar.gz
handle redirecting urls
Change-Id: I12a60746b2ce04db6027a7117f86e24ba4d5bc15 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--build-scripts/helpers2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index b014b1a..f0b6363 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -173,7 +173,7 @@ download_overlays () {
local ifs_save="$IFS"
IFS=";"
for p in $1; do
- curl --fail --silent --show-error \
+ curl --fail --silent -L --show-error \
-b license_accepted_$SOURCE_OVERLAY_ACCEPT_LICENSE=yes \
http://snapshots.linaro.org/android/binaries/$p > $(basename $p)
done