diff options
Diffstat (limited to 'weed/shell/commands.go')
| -rw-r--r-- | weed/shell/commands.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/shell/commands.go b/weed/shell/commands.go index 06b46b774..41f197328 100644 --- a/weed/shell/commands.go +++ b/weed/shell/commands.go @@ -4,7 +4,6 @@ import ( "fmt" "io" "net/url" - "path/filepath" "strconv" "strings" @@ -55,7 +54,7 @@ func (ce *CommandEnv) parseUrl(input string) (path string, err error) { return } if !strings.HasPrefix(input, "/") { - input = filepath.ToSlash(filepath.Join(ce.option.Directory, input)) + input = util.Join(ce.option.Directory, input) } return input, err } |
