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
This commit is contained in:
Li-Wen Hsu 2024-10-15 18:39:31 +08:00
parent 1be84d745b
commit 6abd771421
No known key found for this signature in database
GPG Key ID: 7377A4A02A2954DD

View File

@ -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>