Fix previous.
--HG-- extra : convert_revision : 3498fa3f50a519c98ebdeaecf07201b6da2bfe4d
This commit is contained in:
parent
cc27b1a54a
commit
a172a9f604
1 changed files with 1 additions and 1 deletions
2
xbps.sh
2
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue