aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {