From 2d5326e16e8c0edae4740226493f2313c5974cef Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Thu, 15 Sep 2016 20:04:39 +1000 Subject: [PATCH] run-make-check.sh: Make DRY_RUN actually do a dry run The "cd build" command will cause an error during a dry run if the directory does not exist. Signed-off-by: Brad Hubbard --- run-make-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-make-check.sh b/run-make-check.sh index 05230adfd5e..df073d81b55 100755 --- a/run-make-check.sh +++ b/run-make-check.sh @@ -67,7 +67,7 @@ function run() { export TMPDIR=$(mktemp -d --tmpdir ceph.XXX) if test -x ./do_cmake.sh ; then $DRY_RUN ./do_cmake.sh $@ || return 1 - cd build + $DRY_RUN cd build $DRY_RUN make $BUILD_MAKEOPTS tests || return 1 $DRY_RUN ctest $CHECK_MAKEOPTS --output-on-failure || return 1 else