index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2021-06-05 20:26:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-06-05 20:26:21 +0200 |
commit | 6f59df0faa06e9e5b2127d8376b12bb1cf2db5fd (patch) | |
tree | b380377a92c28beb05b8b249905b684fe4a7cd9e /lib/intentions-queue | |
parent | 8e9130a9d21a2d73f8c354e2a3f1d9ccc6f7ea73 (diff) |
-rwxr-xr-x | lib/intentions-queue | 6 |
diff --git a/lib/intentions-queue b/lib/intentions-queue index c0d88a8..802d1ca 100755 --- a/lib/intentions-queue +++ b/lib/intentions-queue @@ -2,7 +2,7 @@ # contains functions related to the intentions-queue -# shellcheck disable=SC2039 +# shellcheck disable=SC2039,SC3043 if [ -z "${base_dir}" ]; then # just to make shellcheck happy @@ -15,7 +15,7 @@ fi # $package_database_lock_file externally intent_something() { local next_number - if [ "x$1" = 'x-n' ]; then + if [ "$1" = '-n' ]; then cat return fi @@ -75,7 +75,7 @@ execute_intention() { # with -n: return immediately # without -n: wait until nothing more to do intentions_left() { - if [ ! "x$1" = 'x-n' ]; then + if [ ! "$1" = '-n' ]; then while intentions_left -n; do sleep 1 done |