]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
fix the .git detection
authorxonotic <xonotic@ONE.(none)>
Thu, 18 Mar 2010 14:21:01 +0000 (15:21 +0100)
committerxonotic <xonotic@ONE.(none)>
Thu, 18 Mar 2010 14:21:01 +0000 (15:21 +0100)
all-pull.sh

index 0df6902cf441b02529b289926bc41b05b4a83610..aa6c43b07c45c8f4c26158c62ebc7e83cf0b8cf7 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -ex
 git pull
 
 set -ex
 git pull
-for x in "`pwd`/data"/*.pk3dir; do
-       cd "$x"
+for x in "`pwd`/data"/*.pk3dir/.git; do
+       cd "${x%/.git}"
        git pull
 done
        git pull
 done