Skip to content

Commit

Permalink
do_cmake.sh: do not perform 'git submodule update' if building from t…
Browse files Browse the repository at this point in the history
…arball

Signed-off-by: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
  • Loading branch information
vbashkirtsev committed Jan 9, 2021
1 parent 52ef68c commit 50564a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion do_cmake.sh
Original file line number Diff line number Diff line change
@@ -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:=..}
Expand Down

0 comments on commit 50564a6

Please sign in to comment.