summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-04-13 16:51:30 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2010-04-13 16:51:30 +0200
commit306a4686200c33e34c0650b6ad09b1a5a3f32a77 (patch)
tree15fa07c103fb43c51bc3782776ebac0f4e5cf3c7
parenta38965e98de737d83ce843e6af7d0bd7dab10917 (diff)
downloadabrt-306a4686200c33e34c0650b6ad09b1a5a3f32a77.tar.gz
abrt-306a4686200c33e34c0650b6ad09b1a5a3f32a77.tar.xz
abrt-306a4686200c33e34c0650b6ad09b1a5a3f32a77.zip
fixed problem with localized yum output rhbz#581804
-rwxr-xr-xsrc/Daemon/abrt-debuginfo-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Daemon/abrt-debuginfo-install b/src/Daemon/abrt-debuginfo-install
index 521d42ae..84d24469 100755
--- a/src/Daemon/abrt-debuginfo-install
+++ b/src/Daemon/abrt-debuginfo-install
@@ -303,7 +303,7 @@ $debug && echo "build_ids:$build_ids"
# When we look for debuginfo we need only -debuginfo* repos, we can disable the rest
# and thus make it faster.
yum_repo_opts="'--disablerepo=*'"
-for enabled_repo in `yum repolist all | grep 'enabled:' | cut -f1 -d' ' | grep -v -- '-debuginfo'`; do
+for enabled_repo in `LANG=C yum repolist all | grep 'enabled:' | cut -f1 -d' ' | grep -v -- '-debuginfo'`; do
yum_repo_opts="$yum_repo_opts '--enablerepo=${enabled_repo}-debuginfo*'"
done