]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
Fix for ./all compile -r dedicated, thanks, ItsMe, fixes #1406
authorRudolf Polzer <divverent@xonotic.org>
Thu, 21 Mar 2013 16:22:32 +0000 (17:22 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 21 Mar 2013 16:22:32 +0000 (17:22 +0100)
misc/tools/all/xonotic.subr

index bbc86c3d5402f29fb62573b9e8e9bf1a70f6fa9b..405c0ff47d841656ff84f39ca061ff6888e6b39d 100644 (file)
@@ -86,19 +86,19 @@ case "$cmd" in
                        for X in $1; do
                                case "$X" in
                                        sdl)
-                                               TARGETS="$TARGETS sdl-debug"
+                                               TARGETS="$TARGETS sdl-$debug"
                                                ;;
                                        agl)
-                                               TARGETS="$TARGETS cl-debug"
+                                               TARGETS="$TARGETS cl-$debug"
                                                if $snowleopardhack; then
                                                        export CC="$CC -arch i386"
                                                fi
                                                ;;
                                        glx|wgl)
-                                               TARGETS="$TARGETS cl-debug"
+                                               TARGETS="$TARGETS cl-$debug"
                                                ;;
                                        dedicated)
-                                               TARGETS="$TARGETS sv-debug"
+                                               TARGETS="$TARGETS sv-$debug"
                                                ;;
                                        *)
                                                BAD_TARGETS="$BAD_TARGETS $X"