]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
fix the shifting
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 541467a2e5f2d5539d1b6021d11b8b908f56e5fd..920396b4ffe33a68e9235bfc615ee7882f527e71 100755 (executable)
--- a/all
+++ b/all
@@ -457,18 +457,16 @@ case "$cmd" in
                                case "$X" in
                                        sdl)
                                                TARGETS="sdl-debug $TARGETS"
-                                               shift
                                                ;;
                                        glx|agl|wgl)
                                                TARGETS="cl-debug $TARGETS"
-                                               shift
                                                ;;
                                        dedicated)
                                                TARGETS="sv-debug $TARGETS"
-                                               shift
                                                ;;
                                esac
                        done
+                       shift
                fi
                if [ -z "$MAKEFLAGS" ]; then
                        if [ -f /proc/cpuinfo ]; then