aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2014-03-16 21:52:26 +0000
committerFilip Komar <filip@mageia.org>2014-03-16 21:52:26 +0000
commit10d729e74155491b57a179d3eaca757c1926cd51 (patch)
tree7dc8e0809c4fa819b6f8e42f1876a95291ae24bc /tools
parent735324e68f267359a834cefdeb107a415080c6b9 (diff)
downloadwww-10d729e74155491b57a179d3eaca757c1926cd51.tar
www-10d729e74155491b57a179d3eaca757c1926cd51.tar.gz
www-10d729e74155491b57a179d3eaca757c1926cd51.tar.bz2
www-10d729e74155491b57a179d3eaca757c1926cd51.tar.xz
www-10d729e74155491b57a179d3eaca757c1926cd51.zip
remove temporary copy of gettext catalog bugfix
Diffstat (limited to 'tools')
-rwxr-xr-xtools/rebuild_gettext_catalogs.sh3
1 files changed, 3 insertions, 0 deletions
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