summaryrefslogtreecommitdiff
path: root/Makefile.fetch
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2019-02-22 15:35:44 +0100
committerAndras Timar <andras.timar@collabora.com>2019-02-22 16:01:43 +0100
commit0eb79f254d79d7f849ef403df32e7d2a41f56c80 (patch)
tree59ee2fe868c204b7f5b52b3d897d6f32c1fbf25d /Makefile.fetch
parent4d1edf8713ea59bb63148d811d5fee70422ca240 (diff)
cURL: follow redirects
Change-Id: I58d25348f4b43145a19ca0edbc5cde2e9a57f468 Reviewed-on: https://gerrit.libreoffice.org/68213 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'Makefile.fetch')
-rw-r--r--Makefile.fetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.fetch b/Makefile.fetch
index bfa697168000..c2c9fcdea687 100644
--- a/Makefile.fetch
+++ b/Makefile.fetch
@@ -16,7 +16,7 @@ endef
else
define fetch_Download__wget_command
-&& echo fetching $2 && bash -c '$(CURL) -O $1/$2 2>&1 | tee -a $(fetch_LOGFILE) && [ $$PIPESTATUS -eq 0 ]'
+&& echo fetching $2 && bash -c '$(CURL) -L -O $1/$2 2>&1 | tee -a $(fetch_LOGFILE) && [ $$PIPESTATUS -eq 0 ]'
endef
endif