Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/modify-package-state
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-25 13:53:22 +0200
committerErich Eckner <git@eckner.net>2020-04-25 13:53:22 +0200
commiteb80efa196a3cc144973671af4bbbc623179bdb0 (patch)
treeb403882477f29a7c8f51a8efa96ebecde158c319 /bin/modify-package-state
parentb9915b41fb08c30afa46331d104d86138c07c4aa (diff)
make shellcheck happy
Diffstat (limited to 'bin/modify-package-state')
-rwxr-xr-xbin/modify-package-state3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/modify-package-state b/bin/modify-package-state
index 2b7ebbc..141d043 100755
--- a/bin/modify-package-state
+++ b/bin/modify-package-state
@@ -134,17 +134,20 @@ if ! [ -r "${input_file}" ]; then
fi
exec 9> "${sanity_check_lock_file}"
+# shellcheck disable=SC2086
if ! verbose_flock -s ${wait_for_lock} 9; then
>&2 echo 'Cannot get sanity-check lock.'
exit
fi
exec 8> "${package_database_lock_file}"
+# shellcheck disable=SC2086
if ! verbose_flock ${wait_for_lock} 8; then
>&2 echo 'Cannot get package-database lock.'
exit
fi
+# shellcheck disable=SC2086
if intentions_left ${wait_for_lock}; then
>&2 echo 'There are still intentions in the queue.'
exit