From 886ae5e721e974381f47d260240d71a2c3bce744 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 12 Nov 2011 19:37:51 +0100 Subject: [PATCH] xbps-src: return not exit in previous. --- xbps-src/shutils/tmpl_funcs.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xbps-src/shutils/tmpl_funcs.sh.in b/xbps-src/shutils/tmpl_funcs.sh.in index 6b7ded64272..4b85d0cf419 100644 --- a/xbps-src/shutils/tmpl_funcs.sh.in +++ b/xbps-src/shutils/tmpl_funcs.sh.in @@ -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