aboutsummaryrefslogtreecommitdiffstats
path: root/check_for_translation_work.sh
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2013-12-05 17:54:18 +0100
committerfilip <filip.komar@gmail.com>2013-12-05 17:54:18 +0100
commitd9161f6be2596776e282f27054fff1260309b560 (patch)
tree32ee100fd7a5313efe055e1a5e539ca73c90f277 /check_for_translation_work.sh
parentb750a3a98b7702f2994374a715ec70a4a5ee9958 (diff)
downloadtools-d9161f6be2596776e282f27054fff1260309b560.tar
tools-d9161f6be2596776e282f27054fff1260309b560.tar.gz
tools-d9161f6be2596776e282f27054fff1260309b560.tar.bz2
tools-d9161f6be2596776e282f27054fff1260309b560.tar.xz
tools-d9161f6be2596776e282f27054fff1260309b560.zip
finally real bugfix for proper update of script and translation_projects.dat
Diffstat (limited to 'check_for_translation_work.sh')
-rwxr-xr-xcheck_for_translation_work.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/check_for_translation_work.sh b/check_for_translation_work.sh
index b85c4ad8..31efb83d 100755
--- a/check_for_translation_work.sh
+++ b/check_for_translation_work.sh
@@ -7,7 +7,7 @@
#
# Filip Komar, 2012, 2013
# Remco Rijnders, 2012
-# $Id: check_for_translation_work.sh 2013-12-03 21:15:00 UTC filip $
+# $Id: check_for_translation_work.sh 2013-12-05 14:49:00 UTC filip $
#
# Please see git for a list of changes to this script.
#
@@ -181,11 +181,11 @@ if [ $check_updates -eq 1 ]; then
if [ -f "$git_directory"/translation_projects.dat ]; then
cp "$git_directory"/translation_projects.dat "$git_directory"/translation_projects.dat_previous
fi
- wget -Nq http://gitweb.mageia.org/software/i18n/tools/plain/translation_projects.dat "$git_directory"/
+ wget -Nq http://gitweb.mageia.org/software/i18n/tools/plain/translation_projects.dat -P "$git_directory"/
if [ -f "$git_directory"/check_for_translation_work.sh ]; then
cp "$git_directory"/check_for_translation_work.sh "$git_directory"/check_for_translation_work.sh_previous
fi
- wget -Nq http://gitweb.mageia.org/software/i18n/tools/plain/check_for_translation_work.sh "$git_directory"/
+ wget -Nq http://gitweb.mageia.org/software/i18n/tools/plain/check_for_translation_work.sh -P "$git_directory"/
if [ -f "$git_directory"/check_for_translation_work.sh_previous ]; then
diff -q "$git_directory"/check_for_translation_work.sh "$git_directory"/check_for_translation_work.sh_previous > /dev/null
if [ $? -eq 1 ]; then # there are differences
@@ -210,8 +210,8 @@ if [ -f "$git_directory"/translation_projects.dat ]; then
else
echo -e "\E[31m"
echo "Please set check_updates=1 in your configuration file first or copy"
- echo "translation_projects.dat into $git_directory/ before running this"
- echo "script again."
+ echo "translation_projects.dat file manually into $git_directory/ before"
+ echo "running this script again."
echo -e "\E[m"
exit 2
fi