mirror of
https://github.com/ceph/ceph
synced 2025-01-11 21:50:26 +00:00
do_cmake.sh: do not perform 'git submodule update' if building from tarball
Signed-off-by: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
This commit is contained in:
parent
52ef68c681
commit
50564a60ce
@ -1,7 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
git submodule update --init --recursive
|
||||
if [ -d .git ]; then
|
||||
git submodule update --init --recursive
|
||||
fi
|
||||
|
||||
: ${BUILD_DIR:=build}
|
||||
: ${CEPH_GIT_DIR:=..}
|
||||
|
Loading…
Reference in New Issue
Block a user