aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xfind-provides.in3
-rwxr-xr-xfind-requires.in3
3 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 165be43..e590dad 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- set LC_ALL=C in find-{provides,requires} (mga#7883)
+
Version 1.160 - 12 Sep 2012, by Funda wang
- merge rubygems.rb from Mandriva, so that it works with ruby 1.9.x
diff --git a/find-provides.in b/find-provides.in
index d5e266b..64ad479 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -13,6 +13,9 @@ rubygemlist=$(echo "$filelist"| egrep "\.gemspec$")
mavenlist=$(echo "$filelist" |egrep '/usr/share/maven-fragments/*')
osgilist=$(echo "$filelist" |egrep "^(.*\.jar|((/usr/lib(64)|/usr/share).*/MANIFEST.MF))")
+# fix parsing output of objdump when localized (mga#7883):
+export LC_ALL=C
+
#
# --- Alpha does not mark 64bit dependencies
case `uname -m` in
diff --git a/find-requires.in b/find-requires.in
index 4ddbf59..1e76523 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -7,6 +7,9 @@
ulimit -c 0
+# fix parsing output of objdump when localized (mga#7883):
+export LC_ALL=C
+
#
# --- Set needed to 0 for traditional find-requires behavior.
needed=1