termcap.small: Don't use -o pipefail.

The command to generate termcap.small doesn't use any pipes, so this
option is not needed.  Using it also breaks cross-building on hosts
where /bin/sh does not support pipefail such as Linux hosts where
/bin/sh is dash.

Reviewed by:	sobomax, imp
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D37865
This commit is contained in:
John Baldwin 2022-12-27 10:05:10 -08:00
parent 433c5a8ae4
commit 7a8d62cd04

View file

@ -17,7 +17,7 @@ TERMCAP_SMALL_ENTS?= SC cons25 cons25-m cons25-w cons25l1 cons25l1-m \
xterm-color xterm-new xterm-r6 xterm-r6-clear
termcap.small: termcap
set -e; set -o pipefail; \
set -e; \
(echo "# AUTOMATICALLY GENERATED FROM `basename ${.ALLSRC}`"; \
for tcname in ${TERMCAP_SMALL_ENTS}; \
do \