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

View File

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