From: Brad Hubbard Date: Sat, 17 Sep 2016 02:19:23 +0000 (+1000) Subject: run-cmake-check.sh: Remove redundant calls X-Git-Tag: v11.0.1~170^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F11116%2Fhead;p=ceph.git run-cmake-check.sh: Remove redundant calls 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 --- diff --git a/run-cmake-check.sh b/run-cmake-check.sh index 083cafdf9e78..05aeb3df066b 100755 --- a/run-cmake-check.sh +++ b/run-cmake-check.sh @@ -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