From: Adam Dickmeiss Date: Tue, 26 Aug 2008 09:17:35 +0000 (+0200) Subject: Always run 'git submodule update' when git is in use X-Git-Tag: v2.0.34~34 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=8fd8085671b4270baae56c827ff259e8da07196d Always run 'git submodule update' when git is in use --- diff --git a/buildconf.sh b/buildconf.sh index 8ed1491..f9e6516 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -6,10 +6,12 @@ autoconf=autoconf libtoolize=libtoolize 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