summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-18 02:49:12 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-18 02:49:12 +0200
commit8b12cdc391d6cfedf45b780e37263711aa448a87 (patch)
tree1fcc79355f348b29dccfd9a68c413f6d5fd8319e /lib
parentc2d52326cf091a82635f1332c6133558d92f9463 (diff)
Fix hashl ignore
Diffstat (limited to 'lib')
-rw-r--r--lib/App/Hashl.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/Hashl.pm b/lib/App/Hashl.pm
index 8d3187c..9ce17a5 100644
--- a/lib/App/Hashl.pm
+++ b/lib/App/Hashl.pm
@@ -147,10 +147,10 @@ sub ignored {
}
sub ignore {
- my ($self, $file) = @_;
+ my ($self, $file, $path) = @_;
$self->delete_file($file);
- push(@{ $self->{ignored}->{hashes} }, $self->hash_file($file));
+ push(@{ $self->{ignored}->{hashes} }, $self->hash_file($path));
}
sub save {