Fix of Dummy translation-update-upstream for upstream-collect.sh.

OBS-URL: https://build.opensuse.org/package/show/Base:System/translation-update-upstream?expand=0&rev=28
This commit is contained in:
Stanislav Brabec 2011-08-19 14:39:15 +00:00 committed by Git OBS Bridge
parent 53262446b9
commit 245b0c07d7
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
-------------------------------------------------------------------
Thu Aug 18 18:27:20 CEST 2011 - sbrabec@suse.cz
Fri Aug 19 16:38:20 CEST 2011 - sbrabec@suse.cz
- Supplementary scripts improvements:
* Support for pot-only run (COLLECT_UPSTREAM=false).

View File

@ -82,7 +82,7 @@ cat >~/.upstream-collect.tmp/translation-update-upstream <<EOF
#!/bin/sh
echo "Dummy translation-update-upstream for upstream-collect.sh. Skipping merge of old translations."
echo \${3:-intltool-update --gettext-package=\${2:-\$T_U_U_DOMAIN} --pot} >\${1:-po}/.translation-update-upstream-implemented
cd ${1:-po}
cd \${1:-po}
# Generate and save a copy of the pot file now and compare later.
\${3:-intltool-update --gettext-package=\${2:-\$T_U_U_DOMAIN} --pot}
mv \${2:-\$T_U_U_DOMAIN}.pot \${2:-\$T_U_U_DOMAIN}-t-u-u.pot