From: Adam Dickmeiss Date: Tue, 26 Aug 2008 09:15:38 +0000 (+0200) Subject: Always run 'git submodule update' when git is in use X-Git-Tag: v3.0.38~34 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=e77ab47ef9cea60b0c7acedef78a0c9913f493fd;p=yaz-moved-to-github.git Always run 'git submodule update' when git is in use --- diff --git a/buildconf.sh b/buildconf.sh index 7e6581d..d86b270 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -6,13 +6,14 @@ 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 - if [ "`uname -s`" = FreeBSD ]; then # FreeBSD intalls the various auto* tools with version numbers echo "Using special configuration for FreeBSD ..."