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
F139593217: D26036.id54425.diff
Sat, Dec 13, 10:34 PM
Unknown Object (File)
Tue, Nov 25, 8:28 PM
Unknown Object (File)
Mon, Nov 17, 11:59 PM
Unknown Object (File)
Sat, Nov 15, 10:42 AM
Unknown Object (File)
Oct 29 2025, 4:01 AM
Unknown Object (File)
Oct 26 2025, 3:08 AM
Unknown Object (File)
Oct 18 2025, 3:40 AM
Unknown Object (File)
Oct 15 2025, 3:03 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.