Page MenuHomeFreeBSD

Fix newvers.sh on macOS 10.15
ClosedPublic

Authored by arichardson on Mar 20 2020, 11:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 30, 9:58 AM
Unknown Object (File)
May 5 2026, 11:38 PM
Unknown Object (File)
Apr 30 2026, 3:36 PM
Unknown Object (File)
Apr 27 2026, 8:50 AM
Unknown Object (File)
Apr 25 2026, 4:26 AM
Unknown Object (File)
Apr 24 2026, 8:16 PM
Unknown Object (File)
Apr 24 2026, 6:25 AM
Unknown Object (File)
Apr 23 2026, 11:30 AM
Subscribers

Details

Summary

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

Test Plan

VERSTR contained a newline before, now contains \n

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable