[Pkg-owncloud-commits] [owncloud-client] 95/171: NSIS: Escape line endings for NSIS correctly.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Feb 17 09:36:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to annotated tag upstream/2.1.1+dfsg
in repository owncloud-client.
commit ea03f9da132e669b7528d0125a2064be45ada97e
Author: Klaas Freitag <freitag at owncloud.com>
Date: Mon Jan 11 15:36:24 2016 +0100
NSIS: Escape line endings for NSIS correctly.
This is supposed to fix #3519
---
admin/win/nsi/l10n/bin/build_locale_nsi.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/admin/win/nsi/l10n/bin/build_locale_nsi.py b/admin/win/nsi/l10n/bin/build_locale_nsi.py
index cb52df4..d71e3e6 100755
--- a/admin/win/nsi/l10n/bin/build_locale_nsi.py
+++ b/admin/win/nsi/l10n/bin/build_locale_nsi.py
@@ -104,10 +104,12 @@ localeToName = {
def escapeNSIS(st):
return st.replace('\\', r'$\\')\
.replace('\t', r'$\t')\
- .replace('\r', r'\r')\
- .replace('\n', r'\n')\
+ .replace('\r', r'$\r')\
+ .replace('\n', r'$\n')\
.replace('\"', r'$\"')\
- .replace('$$\\', '$\\')
+ .replace('$$\\', '$\\')\
+ .replace('$\\n', r'$\n')
+
translationCache = {}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list