projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee5c319
)
#LP801961, error when running edi_fetcher.pl
user/bshum/lp801961_fix
author
Ben Shum
<bshum@biblio.org>
Tue, 2 Aug 2011 15:15:57 +0000
(11:15 -0400)
committer
Ben Shum
<bshum@biblio.org>
Tue, 2 Aug 2011 15:20:48 +0000
(11:20 -0400)
This patch addresses an error encountered when running edi_fetcher.pl.
The method "is_dir" should be just plain "dir" in RemoteAccount.pm file.
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/Utils/RemoteAccount.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/Utils/RemoteAccount.pm
b/Open-ILS/src/perlmods/lib/OpenILS/Utils/RemoteAccount.pm
index
d8c399c
..
164e227
100644
(file)
--- a/
Open-ILS/src/perlmods/lib/OpenILS/Utils/RemoteAccount.pm
+++ b/
Open-ILS/src/perlmods/lib/OpenILS/Utils/RemoteAccount.pm
@@
-612,7
+612,7
@@
sub ls_ftp { # returns full path like: dir/path/file.ext
next;
}
if ($dirtarget and $dirtarget ne '.' and $dirtarget ne './' and
- $self->_ftp->
is_
dir($dirtarget)) {
+ $self->_ftp->dir($dirtarget)) {
foreach my $file (@part) { # we ensure full(er) path
$file =~ /^$dirtarget\// and next;
$logger->debug("ls_ftp: prepending $dirtarget/ to $file");