Fix pulling of travis binaries.
authorRudolf Polzer <divverent@xonotic.org>
Thu, 28 Aug 2014 12:31:09 +0000 (14:31 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 28 Aug 2014 12:31:09 +0000 (14:31 +0200)
misc/tools/all/release.subr

index 40cd4b8df301ef910a762658e67558646f5c33de..54088daff7f7e4f74ea1e99ae1b4903cbcddade2 100644 (file)
@@ -208,7 +208,7 @@ case "$cmd" in
                binary=$1
                basename=${binary##*/}
                rev=`( cd "$d0/darkplaces" && git rev-parse HEAD )`
                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)
                # TODO eventually do the rebranding on travis too.
                case "$binary" in
                        Xonotic/xonotic*.exe)