From b35b443c4cbd0030784422e38e76c146059e33aa Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 9 Oct 2014 14:31:29 +0200 Subject: [PATCH] Make sure to bail out on empty binary files. --- misc/tools/all/release.subr | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/tools/all/release.subr b/misc/tools/all/release.subr index 60e69406..0b02b11f 100644 --- a/misc/tools/all/release.subr +++ b/misc/tools/all/release.subr @@ -209,6 +209,7 @@ case "$cmd" in basename=${binary##*/} rev=`( cd "$d0/darkplaces" && git rev-parse HEAD )` verbose wget -O "$binary" "http://beta.xonotic.org/autobuild-bin/$rev/$basename" + [ -s "$binary" ] # TODO eventually do the rebranding on travis too. case "$binary" in Xonotic/xonotic*.exe) -- 2.39.2