Fix the previous fix.

OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-trans?expand=0&rev=236
This commit is contained in:
Stanislav Brabec 2016-10-07 15:53:26 +00:00 committed by Git OBS Bridge
parent 860cc631cb
commit adc19bcba4
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 7 17:02:26 CEST 2016 - sbrabec@suse.com Fri Oct 7 17:52:20 CEST 2016 - sbrabec@suse.com
- Fix names of installed mo files (boo#1003165). - Fix names of installed mo files (boo#1003165).

View File

@ -702,7 +702,7 @@ for l in %build_languages; do
{ {
for t in $(find * -maxdepth 1 -type d); do for t in $(find * -maxdepth 1 -type d); do
[ -r $t/$l.po ] || continue [ -r $t/$l.po ] || continue
msgfmt --statistics -o $target_dir/$l.mo $t/$l.po 2>&1 msgfmt --statistics -o $target_dir/$t.mo $t/$l.po 2>&1
done done
} | bash %{S:2} | head -n 6 \ } | bash %{S:2} | head -n 6 \
> %{buildroot}/usr/share/doc/packages/yast2-trans-$l/status.txt > %{buildroot}/usr/share/doc/packages/yast2-trans-$l/status.txt