Commit 0ea2927f authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Bugfix to imcp - if dest is just a file name with no prefix, cannot get its

dirname. Make it abs
parent 254d9464
......@@ -58,6 +58,9 @@ def imcp(src,
if op.isdir(dest):
dest = op.join(dest, op.basename(src))
src = op.abspath(src)
dest = op.abspath(dest)
srcBase, srcExt = fslimage.splitExt(src)
destBase, destExt = fslimage.splitExt(dest)
......
Supports Markdown
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