X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=buildconf.sh;h=a037772f8bcc1a5b2d627027ef1172cc91866f47;hb=a45c23a8df7953a2a91b8e5809916ae4cea9c593;hp=aa4288bafe99f58df0aa0efe144c6ba646629c07;hpb=76453236c8cd7f5ccbfcaad2418efb3d3e095378;p=yazproxy-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index aa4288b..a037772 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,11 +1,12 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.12 2006-05-26 19:57:35 adam Exp $ 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