]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
run-cmake-check.sh: Remove redundant calls
authorBrad Hubbard <bhubbard@redhat.com>
Sat, 17 Sep 2016 02:19:23 +0000 (12:19 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Sat, 17 Sep 2016 22:14:26 +0000 (08:14 +1000)
Calling "git submodule init" is redundant since it is called in do_cmake.sh and
there's no reason to do a modprobe of rbd.ko here either.

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

index 083cafdf9e78304405a8d1c84aa36a28e72ef7c6..05aeb3df066b8041973a34e333bace2ba5cc8b42 100755 (executable)
@@ -42,12 +42,10 @@ function run() {
     else
         echo "WARNING: Don't know how to install packages" >&2
     fi
-    sudo /sbin/modprobe rbd
 
     if test -f ./install-deps.sh ; then
        $DRY_RUN ./install-deps.sh || return 1
     fi
-    git submodule update --init --recursive
     $DRY_RUN ./do_cmake.sh $@ || return 1
     $DRY_RUN cd build
     $DRY_RUN make $BUILD_MAKEOPTS tests || return 1