From: Adam Dickmeiss Date: Tue, 26 Aug 2008 09:19:37 +0000 (+0200) Subject: Always run 'git submodule update' when git is in use X-Git-Tag: v1.3.5~18 X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=commitdiff_plain;h=a45c23a8df7953a2a91b8e5809916ae4cea9c593;ds=sidebyside Always run 'git submodule update' when git is in use --- diff --git a/buildconf.sh b/buildconf.sh index d71be7a..a037772 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,10 +1,12 @@ #!/bin/sh 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