Commit 1888eb5d authored by Kevin Atkinson's avatar Kevin Atkinson

Fix "ipfs add -r ." to always add the contents of the current directory.

License: MIT
Signed-off-by: default avatarKevin Atkinson <k@kevina.org>
parent 6b09b290
......@@ -401,6 +401,10 @@ func appendFile(fpath string, argDef *cmds.Argument, recursive, hidden bool) (fi
if err != nil {
return nil, err
}
cwd, err = filepath.EvalSymlinks(cwd)
if err != nil {
return nil, err
}
fpath = cwd
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment