From: Adam Dickmeiss Date: Tue, 26 Aug 2008 09:20:12 +0000 (+0200) Subject: Always run 'git submodule update' when git is in use X-Git-Tag: v1.0.15~22 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=e8dfbda28e599fff09d46aac05d7c3cf4ac1656f;p=metaproxy-moved-to-github.git Always run 'git submodule update' when git is in use --- diff --git a/buildconf.sh b/buildconf.sh index a30d34c..f55384c 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -7,10 +7,12 @@ libtoolize=libtoolize autoheader=autoheader test -d config || mkdir config -if test -d m4/.git -a -d doc/common/.git; then - : -else - git submodule init +if test .git; then + if test -d m4/.git -a -d doc/common/.git; then + : + else + git submodule init + fi git submodule update fi