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).
This commit is contained in:
+1
-1
@@ -478,7 +478,7 @@ actions DownloadLocatedFile1
|
|||||||
echo "ERROR: Would need to download $(URL), but HAIKU_NO_DOWNLOADS is set!"
|
echo "ERROR: Would need to download $(URL), but HAIKU_NO_DOWNLOADS is set!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
wget -O "$(1)" $(URL) || exit 1
|
wget --retry-connrefused -O "$(1)" $(URL) || exit 1
|
||||||
touch "$(1)"
|
touch "$(1)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user