HomeFreeBSD

Fix newvers.sh on macOS 10.15

Description

Fix newvers.sh on macOS 10.15

It appears that the macOS /bin/sh echo now defaults to -e and therefore the
#define VERSTR included newline characters instead of \n. This caused compiler
errors due to unterminated strings. Fix by using printf instead of echo.
A less fragile solution might be to bootstrap the in-tree /bin/sh but that
requires more changes.

Reviewed By: brooks
Differential Revision: https://reviews.freebsd.org/D24136

Details

Provenance
arichardsonAuthored on
Reviewer
brooks
Differential Revision
D24136: Fix newvers.sh on macOS 10.15
Parents
rS359251: Update arch.7 .Dd for r359233
Branches
Unknown
Tags
Unknown