]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix stand/newvers.sh with zsh in sh mode
authorAlex Richardson <arichardson@FreeBSD.org>
Wed, 12 Aug 2020 15:49:10 +0000 (15:49 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 8 Oct 2021 01:15:59 +0000 (20:15 -0500)
commit1b6c96c6034a71662bf4ffcd4d79489e5526afd6
treeb96f2e20ca811d5ed9ed139d4523544b4331096a
parentc494a0c50da9cdbbbb178aee222ec8e21213e545
Fix stand/newvers.sh with zsh in sh mode

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.

(cherry picked from commit cad2917baf6e8d90720f5bfb2463dfa7be35f568)
stand/common/newvers.sh