binary=$1
basename=${binary##*/}
rev=`( cd "$d0/darkplaces" && git rev-parse HEAD )`
- verbose wget "http://beta.xonotic.org/autobuild-bin/$rev/$basename"
+ verbose wget -O "$binary" "http://beta.xonotic.org/autobuild-bin/$rev/$basename"
# TODO eventually do the rebranding on travis too.
case "$binary" in
Xonotic/xonotic*.exe)