From 3e418a15341e51a9ca3ac61c4b134682235f6a9c Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Sat, 25 Aug 2007 17:01:14 +0100 Subject: scripts/makepkg.sh.in: Add missing [ Signed-off-by: Andrew Fyfe --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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" -- cgit v1.2.3-70-g09d2