strip leading "./"
[id3fs.git] / 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($_);
     }
 }