]> de.git.xonotic.org Git - xonotic/xonotic.git/commitdiff
make checkself also work from checkout -f
authorRudolf Polzer <divverent@xonotic.org>
Wed, 2 Mar 2011 09:37:22 +0000 (10:37 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 2 Mar 2011 09:37:22 +0000 (10:37 +0100)
all

diff --git a/all b/all
index cb7f224da84d6243dcc5bf4dc93426a835530b64..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