]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_fixperms
dh_fixperms: Tighten globs used to find library .so files, avoiding incorrectly match...
[debhelper.git] / dh_fixperms
index 10261493fe85516f612e7cb8ad59cc03ce5a6b0f..893ca56482e76649107805b65abd1af0f4466951 100755 (executable)
@@ -72,7 +72,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        # ..and so are executable shared and static libraries 
        # (and .la files from libtool) ..
        complex_doit("find $tmp -perm -5 -type f",
-               "\\( -name '*.so*' -or -name '*.la' -or -name '*.a' \\) $find_options -print0",
+               "\\( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \\) $find_options -print0",
                "2>/dev/null | xargs -0r chmod 644");
        
        # ..and header files ..