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:
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"