]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
Fixed bug in prepare_infrastructure script
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 13 Mar 2009 17:18:50 +0000 (18:18 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 13 Mar 2009 17:19:07 +0000 (18:19 +0100)
build/prepare_infrastructure

index dfd507c2edd1b026801210899dc5b19ffdab8d2d..72f5b1b854b65383e4133f01f543ccc416c45f59 100755 (executable)
@@ -13,7 +13,7 @@ cd `git rev-parse --show-cdup`
 
 # Register only submodules that can be checked out
 git config -f .gitmodules --get-regexp '^submodule\..*\.path$'|awk '{ print $2 }' |
-while read $path; do
+while read path; do
     if ! git submodule update --init -- "$path"; then
        git config --remove-section "submodule.$path"
        git checkout "$path"