summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-18 07:47:14 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-18 07:47:14 +0200
commit50a6957d835c06553b4d57212f23f0ed119a3df2 (patch)
tree7bd6da35c1d72ef7fedda5d4702316601df6df4a
parenteb623c486cc61ac0716fe3c0fdf75d310c0a487b (diff)
App/Hashl: add_file: Use the absolute path were needed
-rw-r--r--lib/App/Hashl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Hashl.pm b/lib/App/Hashl.pm
index 0ffe884..f95653a 100644
--- a/lib/App/Hashl.pm
+++ b/lib/App/Hashl.pm
@@ -239,7 +239,7 @@ sub add_file {
}
$self->{files}->{$file} = {
- hash => $self->hash_file($file),
+ hash => $self->hash_file($path),
mtime => $mtime,
size => $size,
};