Skip to content

Commit

Permalink
ctypedef: Remove || true from localedef command to reveal error sooner
Browse files Browse the repository at this point in the history
Reviewed by:	bapt
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47111
  • Loading branch information
lwhsu committed Oct 15, 2024
1 parent 1be84d7 commit 6abd771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/ctypedef/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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>

0 comments on commit 6abd771

Please sign in to comment.