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)
Sat, Jul 25, 12:15 AM
Unknown Object (File)
Wed, Jul 22, 8:26 AM
Unknown Object (File)
Tue, Jul 21, 3:31 PM
Unknown Object (File)
May 26 2026, 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
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.