#!/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