From 71b1fdb7ca1baf4675378148789955b97648140d Mon Sep 17 00:00:00 2001 From: "victor.hery" Date: Tue, 14 May 2019 15:04:27 +0200 Subject: [PATCH] Fix quote inside rollback_module, as it breaks scripts inside module and its useless as module are txt and not xml --- rollback_module.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/rollback_module.sh b/rollback_module.sh index f9f0b37..aa8c7ba 100755 --- a/rollback_module.sh +++ b/rollback_module.sh @@ -43,9 +43,7 @@ function extract_translation { msgid="$(awk 'NR{printf "%s",$0;next;}1' <<< ${tempMsgid})" # Escape special char causing problem in with sed and xml - msgstr=${msgstr//'\"'/"""} msgstr=${msgstr//'&'/'\&'} - msgid=${msgid//'\"'/"""} msgid=${msgid//'&'/'\&'} if [[ "${msgstr}" == "" ]]; then