mirror of
https://github.com/ceph/ceph
synced 2026-08-01 22:45:39 +00:00
Merge pull request #4080 from dachary/wip-11157-dumpling
doc,tests: force checkout of submodules Reviewed-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
commit
e5b6eea91c
@ -11,6 +11,15 @@ check_for_pkg_config() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
if test -d ".git" ; then
|
||||
force=$(if git submodule usage 2>&1 | grep --quiet 'update.*--force'; then echo --force ; fi)
|
||||
if ! git submodule sync || ! git submodule update $force --init --recursive; then
|
||||
echo "Error: could not initialize submodule projects"
|
||||
echo " Network connectivity might be required."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -f config.cache
|
||||
aclocal -I m4 --install
|
||||
check_for_pkg_config
|
||||
|
||||
Loading…
Reference in New Issue
Block a user