From: Rudolf Polzer Date: Sat, 3 Jan 2015 16:00:40 +0000 (+0100) Subject: Make SDL the default build everywhere in releases. X-Git-Tag: xonotic-v0.8.0~3 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=8a110315a75d12aa900fb0b443e6175d8db07fc9 Make SDL the default build everywhere in releases. Only really affects Win32, for other platform this merely changes the build order/priority. --- diff --git a/misc/tools/all/release.subr b/misc/tools/all/release.subr index fecf2d67..e44c7c7e 100644 --- a/misc/tools/all/release.subr +++ b/misc/tools/all/release.subr @@ -207,8 +207,9 @@ case "$cmd" in release_common binary=$1 basename=${binary##*/} + dpname=darkplaces-${basename#xonotic-} rev=`( cd "$d0/darkplaces" && git rev-parse HEAD )` - verbose wget -O "$binary" "http://beta.xonotic.org/autobuild-bin/$rev/$basename" + verbose wget -O "$binary" "http://beta.xonotic.org/autobuild-bin/$rev/$dpname" [ -s "$binary" ] || rm -f "$binary" [ -f "$binary" ] # TODO eventually do the rebranding on travis too. @@ -225,7 +226,7 @@ case "$cmd" in release_common good=true verbose "$SELF" release-getbinary Xonotic/xonotic.exe || good=false - verbose "$SELF" release-getbinary Xonotic/xonotic-sdl.exe || good=false + verbose "$SELF" release-getbinary Xonotic/xonotic-wgl.exe || good=false verbose "$SELF" release-getbinary Xonotic/xonotic-dedicated.exe || good=false $good ;; @@ -233,7 +234,7 @@ case "$cmd" in release_common good=true verbose "$SELF" release-getbinary Xonotic/xonotic-x64.exe || good=false - verbose "$SELF" release-getbinary Xonotic/xonotic-x64-sdl.exe || good=false + verbose "$SELF" release-getbinary Xonotic/xonotic-x64-wgl.exe || good=false verbose "$SELF" release-getbinary Xonotic/xonotic-x64-dedicated.exe || good=false $good ;; @@ -247,16 +248,16 @@ case "$cmd" in release-engine-linux32) release_common good=true - verbose "$SELF" release-getbinary Xonotic/xonotic-linux32-glx || good=false verbose "$SELF" release-getbinary Xonotic/xonotic-linux32-sdl || good=false + verbose "$SELF" release-getbinary Xonotic/xonotic-linux32-glx || good=false verbose "$SELF" release-getbinary Xonotic/xonotic-linux32-dedicated || good=false $good ;; release-engine-linux64) release_common good=true - verbose "$SELF" release-getbinary Xonotic/xonotic-linux64-glx || good=false verbose "$SELF" release-getbinary Xonotic/xonotic-linux64-sdl || good=false + verbose "$SELF" release-getbinary Xonotic/xonotic-linux64-glx || good=false verbose "$SELF" release-getbinary Xonotic/xonotic-linux64-dedicated || good=false $good ;;