From d7ed4bdf540de61995e7377103395a1534ee905c Mon Sep 17 00:00:00 2001 From: Christoph Klaffl Date: Fri, 5 Apr 2024 15:24:42 +0200 Subject: [PATCH] support relative paths --- findoid | 3 +++ 1 file changed, 3 insertions(+) diff --git a/findoid b/findoid index 0bb5e5f4..2561246d 100755 --- a/findoid +++ b/findoid @@ -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);