X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=buildconf.sh;h=f55384c4384da56fbab997304ddfcf6adb3dbcf6;hb=e8dfbda28e599fff09d46aac05d7c3cf4ac1656f;hp=a30d34c3bda4c84cbff944a6126e90033d3e387b;hpb=580f4124fbdb53852d88470fc679a957a9ee49cb;p=metaproxy-moved-to-github.git 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