projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a460c34
)
fix localdata for /spider/data only files
author
Dirk Koopman
<djk@tobit.co.uk>
Sun, 26 Apr 2020 12:42:03 +0000
(13:42 +0100)
committer
Dirk Koopman
<djk@tobit.co.uk>
Sun, 26 Apr 2020 12:42:03 +0000
(13:42 +0100)
perl/DXUtil.pm
patch
|
blob
|
history
diff --git
a/perl/DXUtil.pm
b/perl/DXUtil.pm
index 4477a94bef90a3ef8e5abdc5ad5814fc53eb3bbb..b669b3b3f8c78715b891e146f12e172d266f803e 100644
(file)
--- a/
perl/DXUtil.pm
+++ b/
perl/DXUtil.pm
@@
-479,7
+479,9
@@
sub localdata
$tfn = "$main::data/$ifn";
if (-e $tfn && -e $ofn) {
$ofn = $tfn if -M $ofn < -M $tfn;
- }
+ } elsif (-e tfn) {
+ $ofn = $tfn;
+ }
}
return $ofn;