X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=a037772f8bcc1a5b2d627027ef1172cc91866f47;hp=d71be7a296a717a72ee29f8a2098ee72fb232d9e;hb=a45c23a8df7953a2a91b8e5809916ae4cea9c593;hpb=22afe38a1f113ef7f2a46d1fde0141cf10b27eb4 diff --git a/buildconf.sh b/buildconf.sh index d71be7a..a037772 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