summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-06-30 13:37:52 -0400
committerJoey Hess <joey@kitenet.net>2013-06-30 13:37:52 -0400
commit0cc56419a7f843989f3d24e451a6fc5329c6dfa7 (patch)
treee4cb14185517ac7bf249fe78139ea46fd2fc5906
parentf9ac21865fa06049670fef728474c2c1ba3409bf (diff)
use LC_ALL not LANG to reset to C
-rwxr-xr-xdh_strip2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_strip b/dh_strip
index b53d3953..516b6f28 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 {