From a172a9f604d2c582e375af9d046fe221949f48db Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 3 Nov 2008 09:02:21 +0100 Subject: [PATCH] Fix previous. --HG-- extra : convert_revision : 3498fa3f50a519c98ebdeaecf07201b6da2bfe4d --- xbps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps.sh b/xbps.sh index b81c9c8a14a..262bb8c042b 100755 --- a/xbps.sh +++ b/xbps.sh @@ -293,7 +293,7 @@ prepare_tmpl() for i in ${only_for_archs}; do [ "$i" = "$xbps_machine" ] && found=si && break done - if [ -n ${only_for_archs} -a -z $found ]; then + if [ -n "${only_for_archs}" -a -z "$found" ]; then msg_error "this package is only for: ${only_for_archs}." fi