xbps-src: return not exit in previous.
This commit is contained in:
parent
726bb3ef93
commit
886ae5e721
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user