From 2fecb03d2de3176f58c46cf8c2dcf8aa8e3afcb3 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 28 Nov 2012 17:10:44 -0800 Subject: [PATCH] Minor fix --- bin/getloc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/getloc.rb b/bin/getloc.rb index bfc561a7b..d2af400cc 100755 --- a/bin/getloc.rb +++ b/bin/getloc.rb @@ -45,7 +45,7 @@ def import(tmp_files, dst_files, lang, android) for i in 0..tmp_files.length name = File.basename(tmp_files[i]) %x(curl --user #{@user}:#{@password} https://api.getlocalization.com/astrid/api/translations/file/#{name}/#{lang_tmp}/ -o #{tmp_files[i]}) - %x(sed -i '' "s/'/\\\\'/g" #{tmp_files[i]}) if android + %x(sed -i '' "s/'/\\\\\\'/g" #{tmp_files[i]}) if android %x(mv #{tmp_files[i]} #{dst_files[i]}) end end