]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/all/release.subr
Fix pulling of travis binaries.
[xonotic/xonotic.git] / misc / tools / all / release.subr
index 559e026af64148edd61c2f1cf41f0eabe4a3dde8..54088daff7f7e4f74ea1e99ae1b4903cbcddade2 100644 (file)
@@ -208,11 +208,11 @@ case "$cmd" in
                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)
-                               verbose "$d0/misc/tools/change-icon-of-exe.sh" "$d0/misc/logos/icons_ico/xonotic.ico" "${f##*:}"
+                               verbose "$d0/misc/tools/change-icon-of-exe.sh" "$d0/misc/logos/icons_ico/xonotic.ico" "$binary"
                                ;;
                esac
                ;;
@@ -260,7 +260,8 @@ case "$cmd" in
                ;;
        release-qc)
                release_common
-               verbose env GIT_DIR="$d0/data/xonotic-data.pk3dir/.git" make -C Xonotic/source QCC="$d0/Xonotic/gmqcc/gmqcc.linux64" XON_BUILDSYSTEM=1 clean all
+               verbose make -C "$d0/gmqcc" all
+               verbose env GIT_DIR="$d0/data/xonotic-data.pk3dir/.git" make -C Xonotic/source QCC="$d0/gmqcc/gmqcc" XON_BUILDSYSTEM=1 clean all
                ;;
        release-buildpk3-transform-raw)
                release_common