]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix stand/newvers.sh with zsh in sh mode
authorarichardson <arichardson@FreeBSD.org>
Wed, 12 Aug 2020 15:49:10 +0000 (15:49 +0000)
committerarichardson <arichardson@FreeBSD.org>
Wed, 12 Aug 2020 15:49:10 +0000 (15:49 +0000)
commit225e1efa4891d134a4a8bb5b671b6f4e6fcf30d8
tree85922a45c927120bc0dbda54fa14fa3441704ea3
parent1f1c6ec15bc7703469f828e30f2ff7f9b51fad31
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