aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2015-07-20 13:33:43 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2015-07-20 13:33:43 +0300
commitdea88b0a842f7515df0fa1f4943e96d775658773 (patch)
treef82989e5c785b33a7002c6a4ddaeb10c58546e24
parent16d974dfa1c7f4060a2c9e0713f9546ce642aca2 (diff)
node/build: Follow redirects when downloading repo tool.
Default curl behavior of not following redirects breaks infrastructure upgrades, etc. Change-Id: I1bc6006694aa9dd7da61aebacc4a6e466222d27c
-rwxr-xr-xnode/build2
1 files changed, 1 insertions, 1 deletions
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
}