Fix directory name normalisation on OS X

This commit is contained in:
Nick Craig-Wood 2016-05-28 20:23:37 +01:00
parent 4c0f4ccb65
commit 58befe280c

View File

@ -183,7 +183,7 @@ func (f *Fs) list(out fs.ListOpts, remote string, dirpath string, level int) (su
if fi.IsDir() {
if out.IncludeDirectory(newRemote) {
dir := &fs.Dir{
Name: f.cleanUtf8(newRemote),
Name: normString(f.cleanUtf8(newRemote)),
When: fi.ModTime(),
Bytes: 0,
Count: 0,