diff options
author | Filip Komar <filip@mageia.org> | 2014-03-07 05:15:40 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2014-03-07 05:15:40 +0000 |
commit | 51ff78de21924eb125b7fb0d8aace4fc43789253 (patch) | |
tree | 8d67a176654e475d3b87ff7d2476ed75bcd40b2f /tools | |
parent | 140f314e64631208f259f889b60789c07b99bef7 (diff) | |
download | www-51ff78de21924eb125b7fb0d8aace4fc43789253.tar www-51ff78de21924eb125b7fb0d8aace4fc43789253.tar.gz www-51ff78de21924eb125b7fb0d8aace4fc43789253.tar.bz2 www-51ff78de21924eb125b7fb0d8aace4fc43789253.tar.xz www-51ff78de21924eb125b7fb0d8aace4fc43789253.zip |
warning improvements
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/rebuild_gettext_catalogs.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/rebuild_gettext_catalogs.sh b/tools/rebuild_gettext_catalogs.sh index 011d4c4d8..8460eb40b 100755 --- a/tools/rebuild_gettext_catalogs.sh +++ b/tools/rebuild_gettext_catalogs.sh @@ -8,7 +8,11 @@ error=0 declare -A resources declare -A errors -source ./tools/web_projects.dat +if [ -f ./tools/web_projects.dat ]; then + source ./tools/web_projects.dat +else + echo Critical error!!! It was not possible to load web projects database! +fi for resource in "${!resources[@]}" do @@ -61,6 +65,6 @@ do 20) echo "!!!! Parse error, please fix $error_in_source first !!!! See details above." ;; 30) echo "!!!! Failed to write $error_in_source !!!! See details above." ;; 50) echo "!!!! Script translated_converter.py encounter an error in $error_in_source !!!!" ;; - 60) echo "$error_in_source.po could not be created succesfully!!" ;; + 60) echo "$error_in_source.po could not be created succesfully!! Duplicates?" ;; esac done |