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, Aug 25, 4:03 PM
Unknown Object (File)
Tue, Aug 25, 4:03 PM
Unknown Object (File)
Sun, Aug 9, 2:03 PM
Unknown Object (File)
Sun, Aug 9, 11:51 AM
Unknown Object (File)
Sun, Aug 9, 11:50 AM
Unknown Object (File)
Fri, Aug 7, 5:27 PM
Unknown Object (File)
Jul 25 2026, 1:11 PM
Unknown Object (File)
Jul 24 2026, 1:14 PM
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