From: Dirk Koopman Date: Sun, 26 Apr 2020 12:42:03 +0000 (+0100) Subject: fix localdata for /spider/data only files X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=b3798e93940ba3cd0ef8a06ea7771ef3f1fba10f fix localdata for /spider/data only files --- diff --git a/perl/DXUtil.pm b/perl/DXUtil.pm index 4477a94b..b669b3b3 100644 --- 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;