X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=buildconf.sh;h=f9e6516203c93dfa6cbf8802b5dfa5f5369a5d82;hb=8fd8085671b4270baae56c827ff259e8da07196d;hp=8ed1491f1db57d682d51d3c173aa6aff5705c6db;hpb=e90ccc68006a9f8b72e6664663e6be5f71ffe8d8;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