Skip to content

Commit

Permalink
support relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
phreaker0 committed Apr 5, 2024
1 parent 19fc237 commit d7ed4bd
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 d7ed4bd

Please sign in to comment.