diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-04-07 01:06:09 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-04-07 01:06:46 +0200 |
commit | e3ec07a19f01d21738095ba7c4fb09efc8be544e (patch) | |
tree | cfcf707f46c741b95976b938019edaf5b920e821 /msys2-package.sh | |
parent | e57364cd979a9f57f08c023621b999eddd379a45 (diff) | |
download | fiv-e3ec07a19f01d21738095ba7c4fb09efc8be544e.tar.gz fiv-e3ec07a19f01d21738095ba7c4fb09efc8be544e.tar.xz fiv-e3ec07a19f01d21738095ba7c4fb09efc8be544e.zip |
Improve cross-compilation script compatibility
Diffstat (limited to 'msys2-package.sh')
-rwxr-xr-x | msys2-package.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/msys2-package.sh b/msys2-package.sh index 363c36a..27729bb 100755 --- a/msys2-package.sh +++ b/msys2-package.sh @@ -15,7 +15,7 @@ txt2rtf() { print "{\\rtf1\\ansi\\ansicpg1252\\deff0{\\fonttbl{\\f0 Tahoma;}}" print "\\f0\\fs24{\\pard\\sa240" } { - gsub(/\\/, "\\\\"); gsub(/{/, "\\{"); gsub(/}/, "\\}") + gsub(/\\/, "\\\\"); gsub(/[{]/, "\\{"); gsub(/[}]/, "\\}") if (!$0) { print "\\par}{\\pard\\sa240"; prefix = "" } else { print prefix $0; prefix = " " } } END { |