Skip to content

Commit 5f9830a

Browse files
committed
Better name for dpkg-query --status argument
This uses the variable name `package` rather than `pattern` for the variable that expands to an argument to `dpkg-query --status`, since this argument is a literal package name. (I had originally named it `pattern` because I had initially been thinking of using a different search command.)
1 parent 8ff49c4 commit 5f9830a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
- name: Verify that we are in an environment with limited dev tools
4444
run: |
4545
set -x
46-
for pattern in cmake g++ libssl-dev make pkgconf pkg-config; do
47-
if dpkg-query --status -- "$pattern"; then
46+
for package in cmake g++ libssl-dev make pkgconf pkg-config; do
47+
if dpkg-query --status -- "$package"; then
4848
exit 1
4949
fi
5050
done

0 commit comments

Comments
 (0)