X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=buildconf.sh;h=f9e6516203c93dfa6cbf8802b5dfa5f5369a5d82;hb=8fd8085671b4270baae56c827ff259e8da07196d;hp=8ed1491f1db57d682d51d3c173aa6aff5705c6db;hpb=97a7adeb9e5059463f039495cc01cfa448463a27;p=idzebra-moved-to-github.git 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