mirror of https://github.com/jimsalterjrs/sanoid
support relative paths
This commit is contained in:
parent
19fc237476
commit
d7ed4bdf54
3
findoid
3
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 $dataset = getdataset($args{'path'});
|
||||||
|
|
||||||
my %versions = getversions($args{'path'}, $dataset);
|
my %versions = getversions($args{'path'}, $dataset);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue