mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-04-07 16:41:59 +00:00
Make '=' shorthand for destionation being current directory
This commit is contained in:
parent
0d585d7110
commit
6fc53c4c21
@ -217,6 +217,9 @@ if not except(exit)
|
||||
pathcpy(@dstpath, arg)
|
||||
arg = argNext(arg)
|
||||
loop
|
||||
if dstpath[0] == 1 and dstpath[1] == '='
|
||||
fileio:getpfx(@dstpath)
|
||||
fin
|
||||
if not chkdstpath(@dstpath) and (srccnt > 1 or isWildName(srcfilelist))
|
||||
puts("Destination must be a directory: "); puts(@dstpath); putln
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user