Skip to content

Commit

Permalink
[FAB-17297] Use wget in bootstrap.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
  • Loading branch information
lindluni authored and guoger committed Jan 2, 2020
1 parent 74345be commit 65f8a01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ download() {
local BINARY_FILE=$1
local URL=$2
echo "===> Downloading: " "${URL}"
curl -s -L "${URL}" | tar xz || rc=$?
wget "${URL}" || rc=$?
tar xvzf "${BINARY_FILE}" || rc=$?
rm "${BINARY_FILE}"
if [ -n "$rc" ]; then
echo "==> There was an error downloading the binary file."
return 22
Expand Down

0 comments on commit 65f8a01

Please sign in to comment.