diff options
Diffstat (limited to 'lib/LXRng/Repo/Plain.pm')
-rw-r--r-- | lib/LXRng/Repo/Plain.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/LXRng/Repo/Plain.pm b/lib/LXRng/Repo/Plain.pm index c30835e..7e64d3c 100644 --- a/lib/LXRng/Repo/Plain.pm +++ b/lib/LXRng/Repo/Plain.pm @@ -8,6 +8,7 @@ use LXRng::Repo::Plain::Directory; sub new { my ($class, $root) = @_; + $root .= '/' unless $root =~ /\/$/; return bless({root => $root}, $class); } |