Skip to content

Commit 50d4b6d

Browse files
committed
build_matrix.sh: Fix a shellcheck warning
The warning was: Use "${var:?}" to ensure this never expands to /* . [SC2115] (cherry picked from commit 8159192)
1 parent 4badac9 commit 50d4b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_matrix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ for BUILD_LIBPCAP in ${MATRIX_BUILD_LIBPCAP:-no yes}; do
9393
done
9494
else
9595
echo_magenta 'Use system libpcap'
96-
rm -rf "$PREFIX"/*
96+
rm -rf "${PREFIX:?}"/*
9797
make -C ../libpcap distclean || :
9898
build_tcpdump
9999
fi

0 commit comments

Comments
 (0)