Skip to content
Snippets Groups Projects
Unverified Commit f40e2236 authored by boklm's avatar boklm
Browse files

Bug 40056: Improve error message when input file is missing

parent 6a204182
Branches
Tags
No related merge requests found
......@@ -802,6 +802,7 @@ sub input_file_need_dl {
sub input_file_id_hash {
my ($fname, $filename) = @_;
exit_error "input_file_id: file $filename is missing" unless $fname;
return $filename . ':' . sha256file($fname) if -f $fname;
return $filename . ':' . sha256file(readlink $fname) if -l $fname;
my @subdirs = sort(map { $_->basename } path($fname)->children);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment