]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_makeshlibs
r375: * Typo, Closes: #72932
[debhelper.git] / dh_makeshlibs
index c3742267eeaf78a5ecdb22bfd3ff4d74f7ec7ba9..bfded282885620b883892547d8042446078fb357 100755 (executable)
@@ -2,8 +2,7 @@
 #
 # Automatically generate shlibs files.
 
-BEGIN { push @INC, "debian", "/usr/share/debhelper" }
-use Dh_Lib;
+use Debian::Debhelper::Dh_Lib;
 init();
 
 foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
@@ -11,7 +10,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
 
        doit("rm", "-f", "$TMP/DEBIAN/shlibs");
 
-       open (FIND, "find $TMP -type f -name '*.so.*' |");
+       open (FIND, "find $TMP -xtype f -name '*.so.*' |");
        while (<FIND>) {
                chomp;
                ($library, $major)=m#.*/(.*)\.so\.(\d*)\.?#;
@@ -42,6 +41,6 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
 
        if (-e "$TMP/DEBIAN/shlibs") {
                doit("chmod",644,"$TMP/DEBIAN/shlibs");
-               doit("chown","root.root","$TMP/DEBIAN/shlibs");
+               doit("chown","0.0","$TMP/DEBIAN/shlibs");
        }
 }