xbps-src: return not exit in previous.

This commit is contained in:
Juan RP 2011-11-12 19:37:51 +01:00
parent 726bb3ef93
commit 886ae5e721
1 changed files with 2 additions and 2 deletions

View File

@ -293,8 +293,8 @@ prepare_tmpl()
[ "$i" = "$XBPS_MACHINE" ] && found=si && break
done
if [ -n "${only_for_archs}" -a -z "$found" ]; then
msg_normal "this package can only be built on ${only_for_archs}.\n"
exit 0
msg_normal "$pkgver: this package can only be built on ${only_for_archs}.\n"
return 0
fi
unset XBPS_EXTRACT_DONE XBPS_APPLYPATCHES_DONE