summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-04-22 14:29:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-04-22 14:29:00 +0000
commitc60254089ddac4aa5193b50d1671dec6eca7b482 (patch)
tree129aa522a5fb58b95a5fc7c782904b86ab0f4ca7
parent4b235b57247f7646b2052be350bc7b879beb5e37 (diff)
build: escape backslashes in i18n strings
-rwxr-xr-xbuild/i18n-scan.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/i18n-scan.pl b/build/i18n-scan.pl
index 781ac6480..899d90d22 100755
--- a/build/i18n-scan.pl
+++ b/build/i18n-scan.pl
@@ -28,6 +28,7 @@ sub dec_tpl_str
$s =~ s/[\s\n]+/ /g;
$s =~ s/^ //;
$s =~ s/ $//;
+ $s =~ s/\\/\\\\/g;
return $s;
}