strip leading "./"
authorIan Beckwith <ianb@erislabs.net>
Mon, 20 Sep 2010 00:10:58 +0000 (01:10 +0100)
committerIan Beckwith <ianb@erislabs.net>
Mon, 20 Sep 2010 00:10:58 +0000 (01:10 +0100)
bin/id3fs

index 485eabd..8b7294c 100755 (executable)
--- a/bin/id3fs
+++ b/bin/id3fs
@@ -40,6 +40,7 @@ sub wanted
     }
     elsif(-f && scalar(grep({ $ext eq lc($_);} @extensions)))
     {
+       s/^\.\///;
        $db->add($_);
     }
 }