mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Buildscr: fix escaping in version.but.
In the echo "\\versionid foo" statement, the double \ turns into a single \ during dash's expansion phase, and the remaining '\v' turns into a vertical tab when dash's 'echo' builtin processes it. We need twice as many \ to generate a literal \ in the actual output.
This commit is contained in:
parent
3af153b6fb
commit
b3e2c3eccc
2
Buildscr
2
Buildscr
@ -55,7 +55,7 @@ ifneq "$(SNAPSHOT)" "" set Puttytextver PuTTY development snapshot $(Date).$(vcs
|
||||
ifneq "$(SNAPSHOT)" "" set Textver Development snapshot $(Date).$(vcsid)
|
||||
ifeq "$(RELEASE)$(PRERELEASE)$(SNAPSHOT)" "" set Puttytextver PuTTY custom build $(Date).$(vcsid)
|
||||
ifeq "$(RELEASE)$(PRERELEASE)$(SNAPSHOT)" "" set Textver Custom build $(Date).$(vcsid)
|
||||
in putty/doc do echo "\\versionid $(Puttytextver)" > version.but
|
||||
in putty/doc do echo "\\\\versionid $(Puttytextver)" > version.but
|
||||
|
||||
# Set up the version string for use in the SSH connection greeting.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user