From: Adam Dickmeiss Date: Tue, 26 Aug 2008 09:18:18 +0000 (+0200) Subject: Always run 'git submodule update' when git is in use X-Git-Tag: v1.1.0~126 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=179ed260b05ad876acf5c34b09024f1eec3cdbaa;p=pazpar2-moved-to-github.git Always run 'git submodule update' when git is in use --- diff --git a/buildconf.sh b/buildconf.sh index 4fd0a4d..dc0ba93 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