Merge pull request #905 from phreaker0/findoid-relative-path

[findoid] support relative paths
This commit is contained in:
Jim Salter 2024-04-22 12:13:43 -04:00 committed by GitHub
commit fa2c16d65a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,9 @@ if ($args{'path'} eq '') {
}
}
# resolve given path to a canonical one
$args{'path'} = Cwd::realpath($args{'path'});
my $dataset = getdataset($args{'path'});
my %versions = getversions($args{'path'}, $dataset);