Skip to content

Commit 695d4c8

Browse files
committed
Make shellcheck happy
1 parent 25f655e commit 695d4c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/test-coverage.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ cleanup () {
2121
trap cleanup EXIT
2222

2323
# store repo root as variable
24-
REPO_ROOT=$(readlink -f $(dirname $(dirname $0)))
25-
OLD_CWD=$(readlink -f .)
24+
REPO_ROOT="$(readlink -f "$(dirname "$(dirname $0)")")"
25+
OLD_CWD="$(readlink -f .)"
2626

2727
pushd "$BUILD_DIR"
2828

@@ -38,4 +38,4 @@ fi
3838
cmake "$REPO_ROOT" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DENABLE_COVERAGE=ON "${EXTRA_CMAKE_ARGS[@]}"
3939

4040
# build, run tests and show coverage report
41-
make -j$(nproc) coverage_text
41+
make -j"$(nproc)" coverage_text

0 commit comments

Comments
 (0)