git: 7a8d62cd0469 - main - termcap.small: Don't use -o pipefail.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Dec 2022 18:05:26 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=7a8d62cd046942ab34fcf282ecbbb0747a08a4ee
commit 7a8d62cd046942ab34fcf282ecbbb0747a08a4ee
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-12-27 18:05:10 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-12-27 18:05:10 +0000
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
---
etc/termcap/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/termcap/Makefile b/etc/termcap/Makefile
index 85054265b4b2..98045a22b57d 100644
--- a/etc/termcap/Makefile
+++ b/etc/termcap/Makefile
@@ -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 \