Fix previous.

--HG--
extra : convert_revision : 3498fa3f50a519c98ebdeaecf07201b6da2bfe4d
This commit is contained in:
Juan RP 2008-11-03 09:02:21 +01:00
parent cc27b1a54a
commit a172a9f604

View file

@ -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