]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installexamples
r398: * If DH_COMPAT=3 is set, the following happens:
[debhelper.git] / dh_installexamples
index 033564ef2fe5e0f98dbc0daf4cdb05d3064c43f7..7e627675b44fac14139b79aa90c475bededdfd9c 100755 (executable)
@@ -3,8 +3,7 @@
 # Reads debian/examples, installs all files listed there into
 # /usr/share/doc/$PACKAGE/examples
 
-BEGIN { push @INC, "debian", "/usr/share/debhelper" }
-use Dh_Lib;
+use Debian::Debhelper::Dh_Lib;
 init();
 
 foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
@@ -14,7 +13,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
        undef @examples;
        
        if ($file) {
-               @examples=filearray($file);
+               @examples=filearray($file, ".");
        }       
 
        if (($PACKAGE eq $dh{FIRSTPACKAGE} || $dh{PARAMS_ALL}) && @ARGV) {