Skip to content

Commit

Permalink
Revert "Merge pull request ipfs#3023 from ipfs/feature/eval-symlink-w…
Browse files Browse the repository at this point in the history
…indows"

This reverts commit 16c5a89, reversing
changes made to 8c77ff8.

Conflicts:
	commands/cli/parse.go

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
  • Loading branch information
kevina committed Aug 27, 2016
1 parent 533e33e commit 8506637
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions commands/cli/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,7 @@ func appendFile(fpath string, argDef *cmds.Argument, recursive, hidden bool) (fi
fpath = cwd
}

fpath = filepath.Clean(fpath)

// Repeat ToSlash after EvalSymlinks as it turns path to platform specific
fpath = filepath.ToSlash(fpath)
fpath = filepath.ToSlash(filepath.Clean(fpath))

stat, err := os.Lstat(fpath)
if err != nil {
Expand Down

0 comments on commit 8506637

Please sign in to comment.