Skip to content

Commit

Permalink
Merge pull request #65 from liuzhenqi77/liuzhenqi77-patch-1
Browse files Browse the repository at this point in the history
[FIX] Update install_dependencies.sh to resolve wget dns failure
  • Loading branch information
liuzhenqi77 authored Jul 27, 2022
2 parents 614a3d5 + 87f404d commit b200395
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ if [ -n "${OPTIONAL_DEPENDS}" ]; then
done
fi

wget https://www.humanconnectome.org/storage/app/media/workbench/workbench-linux64-v1.5.0.zip
while true; do
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 0 --no-dns-cache -c \
https://www.humanconnectome.org/storage/app/media/workbench/workbench-linux64-v1.5.0.zip && break
done
unzip workbench-linux64-v1.5.0.zip -d "${HOME}"
echo "${HOME}/workbench/bin_linux64" >> "${GITHUB_PATH}"

Expand Down

0 comments on commit b200395

Please sign in to comment.