projects
/
id3fs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a229713
)
fix indexing files in root of tree
author
Ian Beckwith
<ianb@erislabs.net>
Wed, 6 Oct 2010 01:26:39 +0000
(
02:26
+0100)
committer
Ian Beckwith
<ianb@erislabs.net>
Wed, 6 Oct 2010 01:27:02 +0000
(
02:27
+0100)
lib/ID3FS/DB.pm
patch
|
blob
|
history
diff --git
a/lib/ID3FS/DB.pm
b/lib/ID3FS/DB.pm
index
96b88f9
..
bbb1be5
100644
(file)
--- a/
lib/ID3FS/DB.pm
+++ b/
lib/ID3FS/DB.pm
@@
-539,7
+539,7
@@
sub add
my $relpath=$path;
$relpath =~ s/^\Q$self->{base}\E\/?//;
my($filepart,$pathpart);
- if($path !~ /\//)
+ if($
rel
path !~ /\//)
{
$pathpart='';
$filepart=$relpath;