Page MenuHomeFreeBSD

Fix stand/newvers.sh with zsh in sh mode
ClosedPublic

Authored by arichardson on Aug 11 2020, 10:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 26, 9:18 PM
Unknown Object (File)
May 19 2026, 10:08 PM
Unknown Object (File)
May 19 2026, 8:53 AM
Unknown Object (File)
May 18 2026, 1:01 PM
Unknown Object (File)
May 18 2026, 1:00 PM
Unknown Object (File)
May 14 2026, 10:39 PM
Unknown Object (File)
May 14 2026, 8:04 AM
Unknown Object (File)
Apr 29 2026, 4:47 AM
Subscribers
None

Details

Summary

When building on macOS with sh==zsh, newvers.sh was producing an
unterminated string literal due to \\n being turned as a newline. Fix this
by using a here document instead.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32932
Build 30330: arc lint + arc unit

Event Timeline

arichardson created this revision.
This revision is now accepted and ready to land.Aug 12 2020, 4:00 AM
This revision was automatically updated to reflect the committed changes.