From: Ian Beckwith Date: Mon, 20 Sep 2010 00:10:58 +0000 (+0100) Subject: strip leading "./" X-Git-Tag: debian/1.0-1~204 X-Git-Url: http://erislabs.net/gitweb/?p=id3fs.git;a=commitdiff_plain;h=36ac4895db80fbb55bc9efd62bf1c360b4383379 strip leading "./" --- 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($_); } }