Skip to content

Commit

Permalink
Merge pull request jimsalterjrs#905 from phreaker0/findoid-relative-path
Browse files Browse the repository at this point in the history
[findoid] support relative paths
  • Loading branch information
jimsalterjrs authored Apr 22, 2024
2 parents 1207ea0 + d7ed4bd commit fa2c16d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions findoid
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fa2c16d

Please sign in to comment.