From 92abaad22cd786147b48614deac3d4810f6f18bd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 10 Mar 2022 22:43:54 +0530 Subject: [PATCH] Handle cross filesystem untarring in bootstrap.py --- shell-integration/ssh/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-integration/ssh/bootstrap.py b/shell-integration/ssh/bootstrap.py index cb33dbbd8..e10b3cc09 100644 --- a/shell-integration/ssh/bootstrap.py +++ b/shell-integration/ssh/bootstrap.py @@ -103,7 +103,7 @@ def move(src, base_dest): os.makedirs(dest, exist_ok=True) move(x.path, dest) else: - os.rename(x.path, dest) + shutil.move(x.path, dest) def compile_terminfo(base):