aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-04-07 01:06:09 +0200
committerPřemysl Eric Janouch <p@janouch.name>2024-04-07 01:06:46 +0200
commite3ec07a19f01d21738095ba7c4fb09efc8be544e (patch)
treecfcf707f46c741b95976b938019edaf5b920e821
parente57364cd979a9f57f08c023621b999eddd379a45 (diff)
downloadfiv-e3ec07a19f01d21738095ba7c4fb09efc8be544e.tar.gz
fiv-e3ec07a19f01d21738095ba7c4fb09efc8be544e.tar.xz
fiv-e3ec07a19f01d21738095ba7c4fb09efc8be544e.zip
Improve cross-compilation script compatibility
-rwxr-xr-xmsys2-package.sh2
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 {