From e3ec07a19f01d21738095ba7c4fb09efc8be544e Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sun, 7 Apr 2024 01:06:09 +0200 Subject: Improve cross-compilation script compatibility --- msys2-package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3-70-g09d2