From: Adam Dickmeiss Date: Tue, 26 Aug 2008 09:19:06 +0000 (+0200) Subject: Always run 'git submodule update' when git is in use X-Git-Tag: v1.1.2~17 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=fa0660538cb250e7a9bc000a4f06d79d4c27d354;p=yazpp-moved-to-github.git Always run 'git submodule update' when git is in use --- diff --git a/buildconf.sh b/buildconf.sh index 386ddbc..fafe009 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