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, Jan 31, 2:26 PM
Unknown Object (File)
Sat, Jan 31, 8:30 AM
Unknown Object (File)
Wed, Jan 14, 7:07 PM
Unknown Object (File)
Dec 2 2025, 12:08 PM
Unknown Object (File)
Nov 23 2025, 2:40 AM
Unknown Object (File)
Nov 18 2025, 11:37 AM
Unknown Object (File)
Nov 15 2025, 4:11 AM
Unknown Object (File)
Nov 15 2025, 12:24 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30021
Build 27834: arc lint + arc unit