]> granicus.if.org Git - graphviz/commit
plugin/core: make awk crlf agnostic when generating ps.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Thu, 12 Aug 2021 20:02:48 +0000 (22:02 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 8 Sep 2021 16:35:34 +0000 (18:35 +0200)
commite45a4ad5b400482e2d79af88f4fd29559280f95b
tree21255e92fff04520424a07db86c566eb61752543
parentbd510a6ffa2376ed984f72a56788db7be7ccce4d
plugin/core: make awk crlf agnostic when generating ps.h

Fixes errors like this with Cygwin in a crlf environment with
SHELLOPTS=igncr:

/cygdrive/c/Users/magja/graphviz/build/plugin/core/ps.h:2:1: error: missing terminating " character
    2 | "%%BeginProlog ",
      | ^~~~~~~~~~~~~~

Although not shown in the error message, this line actually contained
a carriage return after %%BeginProlog:

"%%BeginProlog\r",
plugin/core/CMakeLists.txt