summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-04 14:26:49 +0200
committerErich Eckner <git@eckner.net>2019-09-04 14:32:31 +0200
commit3ec76dc1b50afd267fd315001a348b393ff45f18 (patch)
treea11ae8e20a0c9b7586c3066157df538e9a9440ba /bin
parentc22298cdec14c2835ce4fbfb6d31ebcb36436e29 (diff)
downloadbuilder-3ec76dc1b50afd267fd315001a348b393ff45f18.tar.xz
bin/local-build-package: make shellcheck happy again
Diffstat (limited to 'bin')
-rwxr-xr-xbin/local-build-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/local-build-package b/bin/local-build-package
index ade87c0..89b6f77 100755
--- a/bin/local-build-package
+++ b/bin/local-build-package
@@ -115,7 +115,7 @@ if [ $# -ne 2 ]; then
usage
fi
-if [ $arch != "i486" ] && [ $arch != "i686" ] && [ $arch != "pentium4" ]; then
+if [ "$arch" != "i486" ] && [ "$arch" != "i686" ] && [ "$arch" != "pentium4" ]; then
>&2 echo "Illegal architecture '$arch', epxecting one of 'i486', 'i686' or 'pentium4'."
usage
fi