projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always run 'git submodule update' when git is in use
[metaproxy-moved-to-github.git]
/
buildconf.sh
diff --git
a/buildconf.sh
b/buildconf.sh
index
a30d34c
..
f55384c
100755
(executable)
--- a/
buildconf.sh
+++ b/
buildconf.sh
@@
-7,10
+7,12
@@
libtoolize=libtoolize
autoheader=autoheader
test -d config || mkdir config
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
git submodule update
fi