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)
Tue, May 5, 11:38 PM
Unknown Object (File)
Thu, Apr 30, 3:36 PM
Unknown Object (File)
Mon, Apr 27, 8:50 AM
Unknown Object (File)
Sat, Apr 25, 4:26 AM
Unknown Object (File)
Fri, Apr 24, 8:16 PM
Unknown Object (File)
Fri, Apr 24, 6:25 AM
Unknown Object (File)
Thu, Apr 23, 11:30 AM
Unknown Object (File)
Thu, Apr 23, 2:33 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