summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdh_strip2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_strip b/dh_strip
index b53d395..516b6f2 100755
--- a/dh_strip
+++ b/dh_strip
@@ -163,7 +163,7 @@ sub make_debug {
my ($base_file)=$file=~/^\Q$tmp\E(.*)/;
my $debug_path;
if (! compat(8) &&
- `LANG=C readelf -n $file`=~ /^\s+Build ID: ([0-9a-f]{2})([0-9a-f]+)$/m) {
+ `LC_ALL=C readelf -n $file`=~ /^\s+Build ID: ([0-9a-f]{2})([0-9a-f]+)$/m) {
$debug_path=$desttmp."/usr/lib/debug/.build-id/$1/$2.debug"
}
else {