X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=buildconf.sh;h=dc0ba93391491ff969c1aca8b5cb117c2be2be6a;hb=179ed260b05ad876acf5c34b09024f1eec3cdbaa;hp=a6c4a32f740b7039aa762dd02215adf911d93138;hpb=b4e80d145253134b44614896ba7f0b1975d22afa;p=pazpar2-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index a6c4a32..dc0ba93 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,5 +1,4 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.4 2007-04-10 08:11:18 adam Exp $ automake=automake aclocal=aclocal @@ -8,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