diff --git a/src/loaih/build.py b/src/loaih/build.py index acc45f8..ba38f6c 100644 --- a/src/loaih/build.py +++ b/src/loaih/build.py @@ -586,10 +586,10 @@ class Build(): # We are finally copying the .so files in the same path as main_executable subprocess.run(shlex.split( - f"cp -r * {os.path.dirname(main_executable)}" + f"cp -fr * {os.path.dirname(main_executable)}/" ), cwd = os.path.abspath(os.path.join(temporary, '/lib/x86_64-linux-gnu')), shell=True, check=True) subprocess.run(shlex.split( - f"cp -r * {os.path.dirname(main_executable)}" + f"cp -r * {os.path.dirname(main_executable)}/" ), cwd = os.path.abspath(os.path.join(temporary, '/usr/lib/x86_64-linux-gnu')), shell=True, check=True)