Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-22 16:22:29 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-22 16:22:29 +0200
commit62f871fb25b70860364b0023745c0f31516e69d0 (patch)
tree8efdaff49293547ee945ff0d10612187a3b06594 /bin/build-packages
parentd14686b0bdc0b2418300c5d34d5f13c19988f020 (diff)
make shellcheck happy
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 9e41951..20cdb29 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -277,7 +277,7 @@ while [ "${count}" -ne 0 ] && \
# 0: ok, I gave you an assignment
0)
- [ ${count} -gt 0 ] && \
+ [ "${count}" -gt 0 ] && \
count=$((count-1))
arch="${package##* }"
package="${package% *}"
@@ -1164,7 +1164,7 @@ while [ "${count}" -ne 0 ] && \
done
-# remove the slave switch file if it exists (and if we are runnig on a slave)
+# remove the slave switch file if it exists (and if we are running on a slave)
if ! ${i_am_the_master}; then
SLAVE=$(whoami)
[ -f "/tmp/do-not-run-build-slave.$SLAVE" ] && rm "/tmp/do-not-run-build-slave.$SLAVE"