From: Achim Bohnet Date: Mon, 6 Apr 1998 21:09:24 +0000 (+0200) Subject: Install extensions with bootstrap (again) in $archlib X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e8aa0dbcfc512edda5a9ea22dbedcc4776290cd1;p=p5sagit%2Fp5-mst-13.2.git Install extensions with bootstrap (again) in $archlib p4raw-id: //depot/perl@957 --- diff --git a/lib/ExtUtils/Install.pm b/lib/ExtUtils/Install.pm index 992d178..6a5c184 100644 --- a/lib/ExtUtils/Install.pm +++ b/lib/ExtUtils/Install.pm @@ -81,10 +81,13 @@ sub install { #there are any files in arch. So we depend on having ./blib/arch #hardcoded here. my $targetroot = $hash{$source}; - if ($source eq "./blib/lib" and - exists $hash{"./blib/arch"} and - directory_not_empty("./blib/arch")) { - $targetroot = $hash{"./blib/arch"}; + if ($source eq "blib/lib" and + exists $hash{"blib/arch"} and + directory_not_empty("blib/arch")) { + $targetroot = $hash{"blib/arch"}; + print "Files found in blib/arch --> Installing files in " + . "blib/lib into architecture dependend library tree!\n" + ; #if $verbose>1; } chdir($source) or next; find(sub {