X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=buildconf.sh;h=dc0ba93391491ff969c1aca8b5cb117c2be2be6a;hb=179ed260b05ad876acf5c34b09024f1eec3cdbaa;hp=4fd0a4d0d2e4b385ab3982654e415dc02a777d40;hpb=e107b0011a295ccc61502d6e5ea79d9125a3fbb4;p=pazpar2-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index 4fd0a4d..dc0ba93 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