summaryrefslogtreecommitdiff
path: root/dh_strip
diff options
context:
space:
mode:
authorjoey <joey>2004-01-18 01:10:25 +0000
committerjoey <joey>2004-01-18 01:10:25 +0000
commit99424bfa3361d6031687e5bf513d2acc0977253e (patch)
tree58cc704caeb2a464c2dfd656b93b66d61ee48659 /dh_strip
parent0f485c1148fa8fda0bddafbf875aeeaebc1b5103 (diff)
r1647: * dh_strip: Fix a unquoted string in regexp in the dbg symbols code.
Closes: #228272
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 28ccf756..93d59b36 100755
--- a/dh_strip
+++ b/dh_strip
@@ -145,7 +145,7 @@ sub make_debug {
my $tmp=shift;
my $desttmp=shift;
- my ($base_file)=$file=~/^$tmp(.*)/;
+ my ($base_file)=$file=~/^\Q$tmp\E(.*)/;
my $debug_path=$desttmp."/usr/lib/debug/".$base_file;
my $debug_dir=dirname($debug_path);
if (! -d $debug_dir) {