From 36ac4895db80fbb55bc9efd62bf1c360b4383379 Mon Sep 17 00:00:00 2001 From: Ian Beckwith Date: Mon, 20 Sep 2010 01:10:58 +0100 Subject: [PATCH] strip leading "./" --- bin/id3fs | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/id3fs b/bin/id3fs index 485eabd..8b7294c 100755 --- a/bin/id3fs +++ b/bin/id3fs @@ -40,6 +40,7 @@ sub wanted } elsif(-f && scalar(grep({ $ext eq lc($_);} @extensions))) { + s/^\.\///; $db->add($_); } } -- 2.11.0