projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix DXUtil::localdata ?perl bug?
[spider.git]
/
perl
/
DXUtil.pm
diff --git
a/perl/DXUtil.pm
b/perl/DXUtil.pm
index b669b3b3f8c78715b891e146f12e172d266f803e..8bb9b956c59d306b8aab36b6cab0807bca10c5bd 100644
(file)
--- a/
perl/DXUtil.pm
+++ b/
perl/DXUtil.pm
@@
-477,10
+477,10
@@
sub localdata
if (-e "$main::local_data") {
$tfn = "$main::data/$ifn";
- if (
-e $tfn && -e $ofn
) {
+ if (
(-e $tfn) && (-e $ofn)
) {
$ofn = $tfn if -M $ofn < -M $tfn;
- } els
if (-e tfn)
{
- $ofn = $tfn;
+ } els
e
{
+ $ofn = $tfn
if -e $tfn
;
}
}