projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
365f8c3
)
Fix typo introduced in 4c38808d92b95.
author
Craig A. Berry
<craigberry@mac.com>
Sat, 21 Dec 2013 14:28:23 +0000
(08:28 -0600)
committer
Craig A. Berry
<craigberry@mac.com>
Sat, 21 Dec 2013 14:28:23 +0000
(08:28 -0600)
The variable name is '$^O' not '-$^O'. This meant File::Copy::move
didn't put the file in the current working directory when the to
argument had no path component.
lib/File/Copy.pm
patch
|
blob
|
history
diff --git
a/lib/File/Copy.pm
b/lib/File/Copy.pm
index
71601f3
..
520752c
100644
(file)
--- a/
lib/File/Copy.pm
+++ b/
lib/File/Copy.pm
@@
-332,7
+332,7
@@
sub _move {
}
my $rename_to = $to;
- if (
-
$^O eq 'VMS' && -e $from) {
+ if ($^O eq 'VMS' && -e $from) {
if (! -d $to && ! -d $from) {