diff options
| author | thiswillbeyourgithub <github@32mail.33mail.comm> | 2022-02-27 14:23:18 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel.thompson@linaro.org> | 2022-02-27 20:08:18 (GMT) |
| commit | a76c2413fb1235286701500933b45be537741c49 (patch) | |
| tree | 4d200be9a194754b0d0a6cd49a0736164baf832f | |
| parent | dbe489ce687b32d1cd8d19e77f58c11f36e29f96 (diff) | |
fix: forces root to be redirected locally
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.comm>
| -rwxr-xr-x | tools/wasptool | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/wasptool b/tools/wasptool index c2ecaba..72dfde9 100755 --- a/tools/wasptool +++ b/tools/wasptool @@ -245,6 +245,9 @@ def check_rtc(c): def handle_binary_download(c, tname, fname): verbose = bool(c.logfile) + if tname.startswith("/"): + fname = "." + fname + c.run_command('import os') stat = c.run_command(f'os.stat("{tname}")[6]') if 'Error' in stat: |
