]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_compress
r389: * Completed the fix from the last version.
[debhelper.git] / dh_compress
index 73676d6a58d092f7feef812ed83a5481d2a0f76c..015a1abb9e8d32c74374e22efe99293832e4d0d8 100755 (executable)
@@ -4,8 +4,7 @@
 # compressed files get fixed.
 
 use Cwd;
-BEGIN { push @INC, "debian", "/usr/share/debhelper" }
-use Dh_Lib;
+use Debian::Debhelper::Dh_Lib;
 init();
 
 foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
@@ -34,7 +33,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
                # Note that all the excludes of odd things like _z are because
                # gzip refuses to compress such files, assumming they are zip files.
                # I looked at the gzip source to get the complete list of such
-               # extentions: ".gz", ".z", ".taz", ".tgz", "-gz", "-z", "_z"
+               # extensions: ".gz", ".z", ".taz", ".tgz", "-gz", "-z", "_z"
                
                push @files, split(/\n/,`
                        find usr/info usr/share/info usr/man usr/share/man usr/X11*/man -type f ! -name "*.gz" 2>/dev/null || true;