diff options
-rwxr-xr-x | scripts/run-analyzer.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/run-analyzer.sh b/scripts/run-analyzer.sh index ed550a47e..a410e8b4c 100755 --- a/scripts/run-analyzer.sh +++ b/scripts/run-analyzer.sh @@ -57,7 +57,8 @@ if [ -z "$RUN_CLANG_TIDY" ] || [ -z "$CLANG_TIDY" ]; then fi fi -CPU_COUNT=$("$(dirname "$0")"/cpu-count.sh) +SCRIPT_DIR=$(dirname "$0") +CPU_COUNT=$("${SCRIPT_DIR}/cpu-count.sh") BUILD_OPTIONS="\ ${QBS_BUILD_PROFILE:+profile:${QBS_BUILD_PROFILE}} \ |