Skip to content

Commit

Permalink
gef-remote: Fix issue with remote path having a space
Browse files Browse the repository at this point in the history
  • Loading branch information
Grazfather committed Aug 25, 2023
1 parent 9f79363 commit 8c77cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -10902,7 +10902,7 @@ def sync(self, src: str, dst: Optional[str] = None) -> bool:
return True
tgt.parent.mkdir(parents=True, exist_ok=True)
dbg(f"[remote] downloading '{src}' -> '{tgt}'")
gdb.execute(f"remote get {src} {tgt.absolute()}")
gdb.execute(f"remote get '{src}' '{tgt.absolute()}'")
return tgt.exists()

def connect(self, pid: int) -> bool:
Expand Down

0 comments on commit 8c77cf0

Please sign in to comment.