Skip to content

Commit 24f1161

Browse files
committed
tools/pyboard.py: Remove implicit fs_put if source starts with ./.
Signed-off-by: Damien George <[email protected]>
1 parent 8587071 commit 24f1161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/pyboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ def fname_cp_dest(src, dest):
583583
if cmd == "cp":
584584
srcs = args[:-1]
585585
dest = args[-1]
586-
if srcs[0].startswith("./") or dest.startswith(":"):
586+
if dest.startswith(":"):
587587
op = pyb.fs_put
588588
fmt = "cp %s :%s"
589589
dest = fname_remote(dest)

0 commit comments

Comments
 (0)