summaryrefslogtreecommitdiff
path: root/dh_strip
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 /dh_strip
parentf9ac21865fa06049670fef728474c2c1ba3409bf (diff)
use LC_ALL not LANG to reset to C
Diffstat (limited to 'dh_strip')
-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 {