]> The Tcpdump Group git mirrors - tcpdump/commitdiff
.ci-coverity-scan-build.sh: Fix two shellcheck notes
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 3 Dec 2023 17:07:26 +0000 (18:07 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 28 Jan 2024 07:27:45 +0000 (08:27 +0100)
The notes were:
Double quote to prevent globbing and word splitting. [SC2086]

(cherry picked from commit 178aa7964f884518822ce7dd6346ec792aaecaad)

[skip ci]

.ci-coverity-scan-build.sh

index 686806a3174cac7df9956abc53953ec7fb3570e7..6d00f4feb4714b4ba2cbd6a0ee65b134b805ce8b 100755 (executable)
@@ -46,7 +46,7 @@ if [ ! -d $TOOL_BASE ]; then
 fi
 
 TOOL_DIR=$(find $TOOL_BASE -type d -name 'cov-analysis*')
-export PATH=$TOOL_DIR/bin:$PATH
+export PATH="$TOOL_DIR/bin:$PATH"
 
 # Build
 printf "\033[33;1mRunning Coverity Scan Analysis Tool...\033[0m\n"