From 7a77d12686b0b7df5a8f70db34849d2746ef1538 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Wed, 27 Nov 2019 16:35:22 +0300 Subject: [PATCH] Use built-in curl timeouts instead of coreutils --- scripts/package-osx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package-osx.sh b/scripts/package-osx.sh index a922fa646..14fa02045 100644 --- a/scripts/package-osx.sh +++ b/scripts/package-osx.sh @@ -6,6 +6,6 @@ cat version.yml python3 -m PyInstaller -y --clean --windowed dist_assets/mac/pyfa.spec cd dist zip -r "pyfa-$PYFA_VERSION-mac.zip" pyfa.app -gtimeout 300 curl --upload-file "pyfa-$PYFA_VERSION-mac.zip" https://transfer.sh/ || echo 'upload to transfer.sh failed' +curl --connect-timeout 30 --max-time 300 --upload-file "pyfa-$PYFA_VERSION-mac.zip" https://transfer.sh/ || echo 'upload to transfer.sh failed' echo -e "\n" md5 -r "pyfa-$PYFA_VERSION-mac.zip"