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)
Fri, Nov 1, 9:50 AM
Unknown Object (File)
Sep 29 2024, 2:17 PM
Unknown Object (File)
Sep 29 2024, 2:17 PM
Unknown Object (File)
Sep 22 2024, 2:00 PM
Unknown Object (File)
Sep 16 2024, 11:28 PM
Unknown Object (File)
Sep 16 2024, 3:38 PM
Unknown Object (File)
Sep 9 2024, 2:22 AM
Unknown Object (File)
Sep 5 2024, 7:32 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.