summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Fyfe <andrew@neptune-one.net>2007-08-25 17:01:14 +0100
committerDan McGee <dan@archlinux.org>2007-08-26 13:31:05 -0400
commit3e418a15341e51a9ca3ac61c4b134682235f6a9c (patch)
treec2cf16c8dc8197f49396a1f8d179d413f4ea23d2
parent5c9eec5570c145c07660bd2ba207b579eda0f26c (diff)
downloadpacman-3e418a15341e51a9ca3ac61c4b134682235f6a9c.tar.xz
scripts/makepkg.sh.in: Add missing [
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index e9578b22..cd5dbf54 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1212,7 +1212,7 @@ if [ $(echo "$pkgrel" | grep '-') ]; then
fi
if ! in_array $CARCH ${arch[@]}; then
- if "$IGNOREARCH" = "0" ]; then
+ if [ "$IGNOREARCH" = "0" ]; then
error "$(gettext "%s is not available for the '%s' architecture.")" "$pkgname" "$CARCH"
plain "$(gettext "Note that many packages may need a line added to their %s")" "$BUILDSCRIPT"
plain "$(gettext "such as arch=('%s').")" "$CARCH"