Skip to content

Commit 3932b13

Browse files
committed
fix script
1 parent 6a77930 commit 3932b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-support/run_clang_tidy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ done
3333
SCRIPT=$(which run-clang-tidy)
3434
set +e
3535
nproc
36-
if [[ $? == 0]]; then
36+
if [[ $? == 0 ]]; then
3737
NUM_THREADS=$(nproc)
3838
else
3939
NUM_THREADS=8
4040
fi
4141
set -e
42-
python3 $SCRIPT -p build -j$(nproc) $(cat files.txt)
42+
python3 $SCRIPT -p build -j$NUM_THREADS $(cat files.txt)
4343
rm -f files.txt

0 commit comments

Comments
 (0)