From 179ed260b05ad876acf5c34b09024f1eec3cdbaa Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 26 Aug 2008 11:18:18 +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 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 -- 1.7.10.4