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)
Feb 23 2024, 6:56 PM
Unknown Object (File)
Feb 23 2024, 6:55 PM
Unknown Object (File)
Feb 23 2024, 6:55 PM
Unknown Object (File)
Feb 23 2024, 2:05 PM
Unknown Object (File)
Jan 5 2024, 4:41 PM
Unknown Object (File)
Dec 1 2023, 1:48 PM
Unknown Object (File)
Oct 24 2023, 9:34 AM
Unknown Object (File)
Oct 12 2023, 12:53 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.