]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix libdtrace build with zsh as /bin/sh
authorAlex Richardson <arichardson@FreeBSD.org>
Tue, 11 Aug 2020 16:46:54 +0000 (16:46 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Tue, 11 Aug 2020 16:46:54 +0000 (16:46 +0000)
commitfded98749a40d1adcdff10bceba9de6cf90b3097
tree5f8477569f751d9e2592314b9464f847a81b3c20
parentf57b27e3f85b468033c3c91c7f2f2e90aa2e8a04
Fix libdtrace build with zsh as /bin/sh

When zsh runs in POSIX sh mode it does not support the -e flag to echo.
Use printf instead of echo to avoid the "-e" characters being printed.

Obtained from: CheriBSD
Reviewed By: markj
Differential Revision: https://reviews.freebsd.org/D26026
cddl/contrib/opensolaris/lib/libdtrace/common/mkerrno.sh
cddl/contrib/opensolaris/lib/libdtrace/common/mkerrtags.sh
cddl/contrib/opensolaris/lib/libdtrace/common/mknames.sh
cddl/contrib/opensolaris/lib/libdtrace/common/mksignal.sh