From 985387d09ef50a3c70c4c132334b5f060c369dcb Mon Sep 17 00:00:00 2001 From: kenorb Date: Thu, 9 May 2019 23:25:50 +0100 Subject: [PATCH] Exports WINETRICKS_DOWNLOADER_RETRIES to be recognized by winetricks --- scripts/install_mt4.sh | 3 +++ scripts/install_mt5.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/scripts/install_mt4.sh b/scripts/install_mt4.sh index 474fe2b9..f23abb75 100755 --- a/scripts/install_mt4.sh +++ b/scripts/install_mt4.sh @@ -5,6 +5,9 @@ CWD="$( (cd -P -- "$(dirname -- "$0")" 2>/dev/null && pwd -P) || pwd -P)" type winetricks >/dev/null +# Load variables. +export WINETRICKS_DOWNLOADER_RETRIES=${WINETRICKS_DOWNLOADER_RETRIES:-10} + # Load the shell functions. . "$CWD/.funcs.inc.sh" . "$CWD/.funcs.cmds.inc.sh" diff --git a/scripts/install_mt5.sh b/scripts/install_mt5.sh index 5014c659..341f3a19 100755 --- a/scripts/install_mt5.sh +++ b/scripts/install_mt5.sh @@ -5,6 +5,9 @@ CWD="$(cd -P -- "$(dirname -- "$0")" 2>/dev/null; pwd -P)" type winetricks >/dev/null +# Load variables. +export WINETRICKS_DOWNLOADER_RETRIES=${WINETRICKS_DOWNLOADER_RETRIES:-10} + # Load the shell functions. . "$CWD/.funcs.inc.sh" . "$CWD/.funcs.cmds.inc.sh"