From: Rudolf Polzer Date: Thu, 9 Oct 2014 12:31:29 +0000 (+0200) Subject: Make sure to bail out on empty binary files. X-Git-Tag: xonotic-v0.8.0~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b35b443c4cbd0030784422e38e76c146059e33aa;p=xonotic%2Fxonotic.git Make sure to bail out on empty binary files. --- 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)