From dea88b0a842f7515df0fa1f4943e96d775658773 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 20 Jul 2015 13:33:43 +0300 Subject: node/build: Follow redirects when downloading repo tool. Default curl behavior of not following redirects breaks infrastructure upgrades, etc. Change-Id: I1bc6006694aa9dd7da61aebacc4a6e466222d27c --- node/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/build b/node/build index bfe8bb5..6dee141 100755 --- a/node/build +++ b/node/build @@ -46,7 +46,7 @@ EOF } function update-repo-tool () { - curl ${REPO_TOOL_URL} > /tmp/repo + curl --location ${REPO_TOOL_URL} > /tmp/repo chmod a+x /tmp/repo mv /tmp/repo /usr/local/bin/repo } -- cgit v1.2.3