From: Francois-Xavier Le Bail Date: Sun, 3 Dec 2023 16:35:41 +0000 (+0100) Subject: build_matrix.sh: Fix a shellcheck note X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/aa3fd98b0de5d3ccdb94849aa9784d3aaa71ec4c build_matrix.sh: Fix a shellcheck note The note was: Double quote to prevent globbing and word splitting. [SC2086] [skip ci] --- diff --git a/build_matrix.sh b/build_matrix.sh index 19980c2e..f37589fa 100755 --- a/build_matrix.sh +++ b/build_matrix.sh @@ -49,7 +49,7 @@ build_tcpdump() { export CRYPTO for SMB in $MATRIX_SMB; do export SMB - COUNT=`increment $COUNT` + COUNT=`increment "$COUNT"` echo_magenta "===== SETUP $COUNT: BUILD_LIBPCAP=$BUILD_LIBPCAP REMOTE=${REMOTE:-?} CC=$CC CMAKE=$CMAKE CRYPTO=$CRYPTO SMB=$SMB =====" >&2 # Run one build with setup environment variables: # BUILD_LIBPCAP, REMOTE, CC, CMAKE, CRYPTO and SMB