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)
Wed, Oct 29, 4:01 AM
Unknown Object (File)
Sun, Oct 26, 3:08 AM
Unknown Object (File)
Sat, Oct 18, 3:40 AM
Unknown Object (File)
Wed, Oct 15, 3:03 PM
Unknown Object (File)
Wed, Oct 15, 3:03 PM
Unknown Object (File)
Wed, Oct 15, 3:03 PM
Unknown Object (File)
Wed, Oct 15, 4:09 AM
Unknown Object (File)
Oct 14 2025, 3:59 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

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.