From: xonotic Date: Thu, 18 Mar 2010 14:21:01 +0000 (+0100) Subject: fix the .git detection X-Git-Tag: xonotic-v0.1.0preview~553 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d2e2f8ecf6d507b044f94e6482dc5c2901c5d981;p=xonotic%2Fxonotic.git fix the .git detection --- diff --git a/all-pull.sh b/all-pull.sh index 0df6902c..aa6c43b0 100755 --- a/all-pull.sh +++ b/all-pull.sh @@ -2,7 +2,7 @@ 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