From 2e4517a3c0812aa75dac8e7d726549724457022a Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Fri, 7 Apr 2023 13:33:02 -0600 Subject: [PATCH] sys_patch_helpers.py: Fix src pathing --- resources/sys_patch/sys_patch_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/sys_patch/sys_patch_helpers.py b/resources/sys_patch/sys_patch_helpers.py index 871ed45bc..b7affe1a0 100644 --- a/resources/sys_patch/sys_patch_helpers.py +++ b/resources/sys_patch/sys_patch_helpers.py @@ -267,7 +267,7 @@ class SysPatchHelpers: dst_path = f"{DEST_DIR}/include/{file}" if Path(dst_path).exists(): continue - utilities.process_status(utilities.elevated(["cp", "-c", dst_path, f"{DEST_DIR}/include/"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)) + utilities.process_status(utilities.elevated(["cp", "-c", f"{src_dir}/include/{file}", f"{DEST_DIR}/include/"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)) if not Path(f"{DEST_DIR}/lib").exists(): utilities.process_status(utilities.elevated(["cp", "-cR", f"{src_dir}/lib", f"{DEST_DIR}/"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT))