Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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