From 0230e26b37c709a4086914bc4d3e4660f7984d01 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 29 Jun 2014 12:19:38 +0200 Subject: [PATCH] Tell wget to retry for connection-refused errors. * This should help the build process to survive short-lived connection problems (as they happened to buildbot slaves tonight). --- build/jam/FileRules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jam/FileRules b/build/jam/FileRules index 22b9eb004e..ef835c922d 100644 --- a/build/jam/FileRules +++ b/build/jam/FileRules @@ -478,7 +478,7 @@ actions DownloadLocatedFile1 echo "ERROR: Would need to download $(URL), but HAIKU_NO_DOWNLOADS is set!" exit 1 fi - wget -O "$(1)" $(URL) || exit 1 + wget --retry-connrefused -O "$(1)" $(URL) || exit 1 touch "$(1)" }