git: 6abd77142153 - main - ctypedef: Remove `|| true` from localedef command to reveal error sooner

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Tue, 15 Oct 2024 10:39:57 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=6abd77142153cc0f5ce49f3ffb38bc91f3444fae

commit 6abd77142153cc0f5ce49f3ffb38bc91f3444fae
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2024-10-15 10:39:31 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2024-10-15 10:39:31 +0000

    ctypedef: Remove `|| true` from localedef command to reveal error sooner
    
    Reviewed by:    bapt
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D47111
---
 share/ctypedef/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/ctypedef/Makefile b/share/ctypedef/Makefile
index cf3335267446..5583f7b74cf3 100644
--- a/share/ctypedef/Makefile
+++ b/share/ctypedef/Makefile
@@ -13,7 +13,7 @@ MAPLOC=		${.CURDIR}/../../tools/tools/locale/etc/final-maps
 .src.LC_CTYPE:
 	localedef ${LOCALEDEF_ENDIAN} -D -U -c -w ${MAPLOC}/widths.txt \
 	-f ${MAPLOC}/map.${.IMPSRC:T:R:E} \
-	-i ${.IMPSRC} ${.OBJDIR}/${.IMPSRC:T:R}  || true
+	-i ${.IMPSRC} ${.OBJDIR}/${.IMPSRC:T:R}
 
 LOCALES+=	C.UTF-8
 .if ${MK_LOCALES} != no
@@ -254,7 +254,7 @@ SYMPAIRS+=	be_BY.CP1131.src ru_RU.KOI8-R.src
 ${t:S/src$/LC_CTYPE/}: $s
 	localedef ${LOCALEDEF_ENDIAN} -D -U -c -w ${MAPLOC}/widths.txt \
 	-f ${MAPLOC}/map.${.TARGET:T:R:C/^.*\.//} \
-	-i ${.ALLSRC} ${.OBJDIR}/${.TARGET:T:R}  || true
+	-i ${.ALLSRC} ${.OBJDIR}/${.TARGET:T:R}
 .endfor
 
 .include <bsd.prog.mk>