summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-23 22:07:00 +0200
committerErich Eckner <git@eckner.net>2017-08-23 22:07:00 +0200
commit67ffb502ea0c2bbf36dbfc0c8dfcd065002aabd8 (patch)
tree44ebe3ab863d236e052440f5ca72361316494971 /bin/build-packages
parent1061c920833a562e02584aa70e7c889a734139d8 (diff)
downloadbuilder-67ffb502ea0c2bbf36dbfc0c8dfcd065002aabd8.tar.xz
silence all other shellcheck warnings
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 4209eea..fef2c9a 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -25,6 +25,7 @@
# shellcheck source=conf/default.conf
. "${0%/*}/../conf/default.conf"
+# shellcheck disable=SC2016
usage() {
>&2 echo ''
>&2 echo 'build-packages: build package(s) on the build-list'
@@ -100,7 +101,7 @@ fi
while [ "${count}" -ne 0 ]; do
- if [ ${timeout} -ne 0 ] && [ ${timeout} -lt $(date +%s) ];
+ if [ "${timeout}" -ne 0 ] && [ "${timeout}" -lt "$(date +%s)" ];
then
break
fi