add -L to curl
This commit is contained in:
parent
2adfec1fd6
commit
4090196e84
|
@ -23,7 +23,7 @@ INSTALL_FILE="node.setup.bash"
|
|||
if [ ! -e "/tmp/${INSTALL_FILE}" ]
|
||||
then
|
||||
if [ -n "$(which curl)" ]; then
|
||||
curl --silent "${BASE_URL}/${INSTALL_FILE_REMOTE}" \
|
||||
curl --silent -L "${BASE_URL}/${INSTALL_FILE_REMOTE}" \
|
||||
-o "/tmp/${INSTALL_FILE}" || echo 'error setup script: '"${BASE_URL}/${INSTALL_FILE_REMOTE}"
|
||||
elif [ -n "$(which wget)" ]; then
|
||||
wget --quiet "${BASE_URL}/${INSTALL_FILE_REMOTE}" \
|
||||
|
|
Loading…
Reference in New Issue