X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;fp=buildconf.sh;h=fafe009783123d7e7e044f95f6a3cbdf8a0dd9a4;hp=386ddbcb7d56ae17a332e388a0513ad71909d669;hb=fa0660538cb250e7a9bc000a4f06d79d4c27d354;hpb=7c6491260329d0714c02580c37f700250a2ac09b diff --git a/buildconf.sh b/buildconf.sh index 386ddbc..fafe009 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,10 +1,12 @@ #!/bin/sh 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