]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
Merge branch 'master' of ssh://xonotic@git.xonotic.org/xonotic
authorRudolf Polzer <rpolzer@grawp.(none)>
Fri, 26 Mar 2010 07:59:18 +0000 (08:59 +0100)
committerRudolf Polzer <rpolzer@grawp.(none)>
Fri, 26 Mar 2010 07:59:18 +0000 (08:59 +0100)
all

diff --git a/all b/all
index 338c0237fb287e18d03200a1fb1b246338328c45..a9208f001e823ba25ef8764415644c00abdcb70e 100755 (executable)
--- a/all
+++ b/all
@@ -179,6 +179,13 @@ case "$cmd" in
                fi
                exec "darkplaces/darkplaces$client" -xonotic $@
                ;;
+       each|foreach)
+               for d in $repos; do
+                       cd "$d0/$d"
+                       "$@"
+                       cd "$d0"
+               done
+               ;;
        *)
                echo "Usage:"
                echo "  $0 pull"
@@ -188,5 +195,6 @@ case "$cmd" in
                echo "  $0 checkout"
                echo "  $0 compile"
                echo "  $0 run <client> <options>"
+               echo "  $0 each <command>"
                ;;
 esac