Skip to content

Commit

Permalink
Merge pull request #6 from Manouchehri/wget-s3-fix
Browse files Browse the repository at this point in the history
Added wget flag to reset connection
  • Loading branch information
s3rvac committed Dec 19, 2017
2 parents ab7adba + d699d3b commit 0c9a757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/install-share.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ mkdir -p "$SUPPORT_DIR"
# Get archive using wget.
ARCH_URL="https://github.com/avast-tl/retdec-support/releases/download/$VERSION/$ARCH_NAME"
echo "Downloading archive from $ARCH_URL ..."
wget --no-verbose "$ARCH_URL" -O "$SUPPORT_DIR/$ARCH_NAME"
wget --no-verbose --read-timeout=10 "$ARCH_URL" -O "$SUPPORT_DIR/$ARCH_NAME"
WGET_RC=$?
if [ "$WGET_RC" -ne 0 ]; then
echo "ERROR: wget failed"
Expand Down

0 comments on commit 0c9a757

Please sign in to comment.