This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Error in the latest FindBin patch, noticed by Nicholas
[perl5.git]
/
lib
/
FindBin.pm
diff --git
a/lib/FindBin.pm
b/lib/FindBin.pm
index
122f083
..
b1d6404
100644
(file)
--- a/
lib/FindBin.pm
+++ b/
lib/FindBin.pm
@@
-162,7
+162,7
@@
sub init
my $cwd = getcwd();
defined $cwd or $cwd = cwd(); # try harder
- $script = File::Spec->catfile(
getcwd()
, $script)
+ $script = File::Spec->catfile(
$cwd
, $script)
unless File::Spec->file_name_is_absolute($script);
($Script,$Bin) = fileparse($script);