From b3798e93940ba3cd0ef8a06ea7771ef3f1fba10f Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Sun, 26 Apr 2020 13:42:03 +0100 Subject: [PATCH] fix localdata for /spider/data only files --- perl/DXUtil.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.43.0