From e8dfbda28e599fff09d46aac05d7c3cf4ac1656f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 26 Aug 2008 11:20:12 +0200 Subject: [PATCH] Always run 'git submodule update' when git is in use --- buildconf.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/buildconf.sh b/buildconf.sh index a30d34c..f55384c 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 -- 1.7.10.4