- Timestamp:
- 11/12/05 23:35:55 (3 years ago)
- Files:
-
- 1 modified
-
inc/Module/Install.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
inc/Module/Install.pm
r1108 r7937 27 27 28 28 if (not -f $self->{file}) { 29 die "Pugs build should not get here"; 29 require Cwd; 30 die << "."; 31 *** Error: $self->{file} does not exist! 32 Current directory is @{[Cwd::abs_path(Cwd::cwd())]} 33 Program path is @{[Cwd::abs_path($FindBin::Bin)]} 34 *** Please report this issue to <perl6-compiler\@perl.org>. 35 . 30 36 require "$self->{path}/$self->{dispatch}.pm"; 31 37 File::Path::mkpath("$self->{prefix}/$self->{author}"); … … 68 74 # ignore the prefix on extension modules built from top level. 69 75 delete $args{prefix} 70 unless Cwd:: cwd() eq $FindBin::Bin;76 unless Cwd::abs_path(Cwd::cwd()) eq Cwd::abs_path($FindBin::Bin); 71 77 72 78 return $args{_self} if $args{_self}; … … 76 82 $args{author} ||= '.author'; 77 83 $args{bundle} ||= 'inc/BUNDLES'; 78 $args{base} ||= $FindBin::Bin;84 $args{base} ||= Cwd::abs_path($FindBin::Bin); 79 85 80 86 $class =~ s/^inc:://;
