From: Jarkko Hietaniemi Date: Tue, 24 Jul 2001 02:58:20 +0000 (+0000) Subject: Workaround on Cwd bootstrap problem. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8390959c5043ad54aa189786386cb55b9bbcbd29;p=p5sagit%2Fp5-mst-13.2.git Workaround on Cwd bootstrap problem. p4raw-id: //depot/perl@11464 --- diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm index b36a542..7f6bf1a 100644 --- a/lib/ExtUtils/MakeMaker.pm +++ b/lib/ExtUtils/MakeMaker.pm @@ -152,7 +152,7 @@ sub eval_in_subdirs { my($dir); use Cwd qw(cwd abs_path); my $pwd = cwd(); - local @INC = map abs_path($_), @INC; + local @INC = map eval {abs_path($_)} || $_, @INC; foreach $dir (@{$self->{DIR}}){ my($abs) = $self->catdir($pwd,$dir);