X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=buildconf.sh;h=fafe009783123d7e7e044f95f6a3cbdf8a0dd9a4;hb=fa0660538cb250e7a9bc000a4f06d79d4c27d354;hp=00028e10bcc3a222d021cbdd0317ee6e683732c8;hpb=05ee65c04676229f218e95ba6e1e19354ec14175;p=yazpp-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index 00028e1..fafe009 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,11 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.17 2006-07-07 06:21:29 adam Exp $ 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