From 10d729e74155491b57a179d3eaca757c1926cd51 Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Sun, 16 Mar 2014 21:52:26 +0000 Subject: remove temporary copy of gettext catalog bugfix --- tools/rebuild_gettext_catalogs.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/rebuild_gettext_catalogs.sh b/tools/rebuild_gettext_catalogs.sh index 6de1bf567..1367871ff 100755 --- a/tools/rebuild_gettext_catalogs.sh +++ b/tools/rebuild_gettext_catalogs.sh @@ -36,6 +36,7 @@ do if [ $? -eq 1 ]; then # there are differences errors[$php_source]=0 mv ./langs/en/$resource.tmp ./langs/en/$resource.pot + rm ./langs/en/$resource.copy echo Changes in ./langs/en/$resource.pot else # Cleanup as there are no changes in $resource errors[$php_source]=5 @@ -46,7 +47,9 @@ do else # diff not possible if [ -f ./langs/en/$resource.tmp ]; then mv ./langs/en/$resource.tmp ./langs/en/$resource.pot + rm ./langs/en/$resource.copy else + rm ./langs/en/$resource.copy rm ./langs/en/$resource.pot if [ -f ./langs/en/$resource.copy ]; then mv ./langs/en/$resource.copy ./langs/en/$resource.pot -- cgit v1.2.1