summaryrefslogtreecommitdiff
path: root/dh_strip
diff options
context:
space:
mode:
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) {