diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-09-09 11:21:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-09-09 11:21:23 +0000 |
commit | 54e5eb2c0e2306627ce7bc82f8b642abfdc90c73 (patch) | |
tree | 0512201bf7932a8f35dace270aae05f1bfb7fd3f /genhdlist2 | |
parent | 455f733a2b31181b95c000ae9b7f21f3cf61cef5 (diff) | |
download | rpmtools-54e5eb2c0e2306627ce7bc82f8b642abfdc90c73.tar rpmtools-54e5eb2c0e2306627ce7bc82f8b642abfdc90c73.tar.gz rpmtools-54e5eb2c0e2306627ce7bc82f8b642abfdc90c73.tar.bz2 rpmtools-54e5eb2c0e2306627ce7bc82f8b642abfdc90c73.tar.xz rpmtools-54e5eb2c0e2306627ce7bc82f8b642abfdc90c73.zip |
- force locale to be C (mga#95, Pascal Terjan)
(when packages contain translated summary/description genhdlist2 would embed
them instead of the English version)
Diffstat (limited to 'genhdlist2')
-rw-r--r-- | genhdlist2 | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -47,6 +47,12 @@ sub main() { $options{no_incremental} ||= $options{no_hdlist}; + # Force locale to be C + # We don't translate anything but we would get translated package info and + # wrongly put it in hdlists + # https://bugs.mageia.org/show_bug.cgi?id=95 + $ENV{LC_ALL} = 'C'; + do_it($rpms_dir, %options); } |