git: adfd9150b92e - stable/14 - ctypedef: Remove `|| true` from localedef command to reveal error sooner

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Mon, 21 Oct 2024 04:25:10 UTC
The branch stable/14 has been updated by lwhsu:

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

commit adfd9150b92e4f716db302b5ad78788cb5e745a4
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-21 04:24:17 +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
    
    (cherry picked from commit 6abd77142153cc0f5ce49f3ffb38bc91f3444fae)
---
 share/ctypedef/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/ctypedef/Makefile b/share/ctypedef/Makefile
index 62b3a719fe57..57b145ed94db 100644
--- a/share/ctypedef/Makefile
+++ b/share/ctypedef/Makefile
@@ -14,7 +14,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
@@ -255,7 +255,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>