]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_shlibdeps
r280: * Oops. Fixed dh_shlibdeps so it actually generates dependancies, broke in
[debhelper.git] / dh_shlibdeps
index cdf1356612a115577e644e4db6524fc95343e127..1268fa4a4f569ff50b55086b0b8348ea94dd554b 100755 (executable)
@@ -17,7 +17,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
        foreach $file (split(/\n/,`find $TMP -type f \\( -perm +111 -or -name "*.so*" \\)`)) {
                # TODO: this is slow, optimize. Ie, file can run once on multiple files..
                $ff=`file "$file"`;
-               if ($ff=~m/ELF/ && ! $ff=~/statically linked/) {
+               if ($ff=~m/ELF/ && $ff!~/statically linked/) {
                        push @filelist,$file;
                }
        }