]> git.donarmstrong.com Git - debhelper.git/commitdiff
r1647: * dh_strip: Fix a unquoted string in regexp in the dbg symbols code. version_4.1.88
authorjoey <joey>
Sun, 18 Jan 2004 01:10:25 +0000 (01:10 +0000)
committerjoey <joey>
Sun, 18 Jan 2004 01:10:25 +0000 (01:10 +0000)
Closes: #228272
dh_strip

index 28ccf756cd6bce54d004044f88d07ba2cf7a920e..93d59b36043b5668add4a828928d492ef5a1bce5 100755 (executable)
--- 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) {