jam: Extend wget wait

* I shrunk this down, but it seems like packages.haiku-os.org
  is taking an long time to access some packages (>10 sec)
* This should help relability of package downloads until
  someone checks out why connections take so long
This commit is contained in:
Alexander von Gluck IV 2016-06-30 15:09:17 -05:00
parent 8331697602
commit c9e6b4e096

View File

@ -478,7 +478,7 @@ actions DownloadLocatedFile1
echo "ERROR: Would need to download $(URL), but HAIKU_NO_DOWNLOADS is set!"
exit 1
fi
wget --retry-connrefused --timeout 10 -O "$(1)" $(URL) || exit 1
wget --retry-connrefused --timeout 30 -O "$(1)" $(URL) || exit 1
touch "$(1)"
}