Skip to content

Commit

Permalink
Added wget flag to reset connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
Manouchehri committed Dec 18, 2017
1 parent ab7adba commit d699d3b
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 d699d3b

Please sign in to comment.