From b338a49039e2c0b4e061514e664969db2867e98f Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Sat, 17 Sep 2016 12:19:23 +1000 Subject: [PATCH] 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 --- run-cmake-check.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/run-cmake-check.sh b/run-cmake-check.sh index 083cafdf9e7..05aeb3df066 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 -- 2.47.3