]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
run-cmake-check.sh: Init submodules 11091/head
authorBrad Hubbard <bhubbard@redhat.com>
Thu, 15 Sep 2016 09:39:25 +0000 (19:39 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Thu, 15 Sep 2016 09:39:25 +0000 (19:39 +1000)
If submodules are not initialised run-cmake-check.sh can fail.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
run-cmake-check.sh

index 1446434abb0e5b56b3dfe3cb6d3f3c3090453f9b..0d13b6e60b0e7e91563e897273e3f132f9978540 100755 (executable)
@@ -47,6 +47,7 @@ function run() {
     if test -f ./install-deps.sh ; then
        $DRY_RUN ./install-deps.sh || return 1
     fi
+    git submodule update --init --recursive
     $DRY_RUN mkdir build
     $DRY_RUN cd build
     $DRY_RUN cmake "$@" ../