]> de.git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
make checkself also work from checkout -f
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 466abc1d5e8309ba70b5bdf220ee0e755fedfc5d..9fbae729128c37c7a507145f1ca7af87c9cd11ab 100755 (executable)
--- a/all
+++ b/all
@@ -663,6 +663,9 @@ case "$cmd" in
                                        ;;
                        esac
                fi
+               if [ -n "$checkoutflags" ]; then
+                       set -- -f "$@" # to make checkself work again
+               fi
                exists=false
                for d in $repos; do
                        enter "$d0/$d" verbose
@@ -1378,7 +1381,6 @@ case "$cmd" in
                                msg "Unknown arg: $X"
                        fi
                        found=true
-                       shift
                done
                if ! $found; then
                        rmuntracked=true