aboutsummaryrefslogtreecommitdiffstats
path: root/genhdlist2
diff options
context:
space:
mode:
Diffstat (limited to 'genhdlist2')
-rw-r--r--genhdlist26
1 files changed, 6 insertions, 0 deletions
diff --git a/genhdlist2 b/genhdlist2
index 59021c7..463cde1 100644
--- a/genhdlist2
+++ b/genhdlist2
@@ -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);
}