From d699d3bb70e1f21a08221941b756a91fbdfc5cc5 Mon Sep 17 00:00:00 2001 From: David Manouchehri Date: Mon, 18 Dec 2017 13:12:41 -0500 Subject: [PATCH] Added wget flag to reset connection. --- cmake/install-share.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/install-share.sh b/cmake/install-share.sh index 5cc053c68..645badb9c 100644 --- a/cmake/install-share.sh +++ b/cmake/install-share.sh @@ -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"