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)
Mon, Mar 25, 10:57 AM
Unknown Object (File)
Dec 23 2023, 12:03 AM
Unknown Object (File)
Dec 16 2023, 11:29 PM
Unknown Object (File)
Nov 24 2023, 4:55 AM
Unknown Object (File)
Nov 7 2023, 11:50 AM
Unknown Object (File)
Nov 6 2023, 4:34 AM
Unknown Object (File)
Oct 31 2023, 9:42 AM
Unknown Object (File)
Oct 6 2023, 10:44 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