]> 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)
committerAlex Richardson <arichardson@FreeBSD.org>
Wed, 12 Aug 2020 15:49:10 +0000 (15:49 +0000)
commitcad2917baf6e8d90720f5bfb2463dfa7be35f568
tree85922a45c927120bc0dbda54fa14fa3441704ea3
parent188d6f4bc6bd8fd2e5c777b733164fb8b2782dd2
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.

Reviewed By: imp
Differential Revision: https://reviews.freebsd.org/D26036
stand/common/newvers.sh