]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_strip
r458: * Typo, Closes: #92407
[debhelper.git] / dh_strip
index d2f7a44551f73e6d8e9df8356e7c331f3ad9c664..cf36085d4c956236c6df7c09a3f188673565cd9c 100755 (executable)
--- a/dh_strip
+++ b/dh_strip
@@ -89,7 +89,7 @@ sub testfile {
        }
        
        # Is it a static library, and not a debug library?
-       if (m/lib.*\.a/ && ! m/.*_g\.a/) {
+       if (m/lib.*\.a$/ && ! m/.*_g\.a$/) {
                push @static_libs, $fn;
                return;
        }
@@ -98,7 +98,6 @@ sub testfile {
 foreach my $package (@{$dh{DOPACKAGES}}) {
        my $tmp=tmpdir($package);
 
-       my (@shared_libs, @executables, @static_libs);
        find(\&testfile,$tmp);
 
        foreach (@shared_libs) {