From 58befe280c8607522e2cb1cb4bbcc1d3711bdce4 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 28 May 2016 20:23:37 +0100 Subject: [PATCH] Fix directory name normalisation on OS X --- local/local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/local.go b/local/local.go index 8c7e2b6d4..c9bb9f2c2 100644 --- a/local/local.go +++ b/local/local.go @@ -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,