From e4bea38d3c0bb10ee187a43ff71b54ab6770940a Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 9 Dec 2009 15:05:08 +0000 Subject: [PATCH] auto-br-analyze.pl: Fix failure when LANG != C. (RHBZ#545867). This was running the RPM command and grepping out error messages of the form /^file.*is not owned by any package$/. Unfortunately this fails if language isn't set to English. Fix this by setting LANG=C before running the RPM command. --- auto-br-analyze.pl.in | 1 + 1 file changed, 1 insertion(+) diff --git a/auto-br-analyze.pl.in b/auto-br-analyze.pl.in index 9163f53..7aa7e61 100755 --- a/auto-br-analyze.pl.in +++ b/auto-br-analyze.pl.in @@ -58,6 +58,7 @@ my @owners; my ($fh, $filename) = tempfile (); my $cmd = + "export LANG=C; ". "xargs -0 ". "rpm -q --qf '%{name} %{epoch} %{version} %{release} %{arch}\n' -f ". "2>&1 | ". -- 1.8.3.1