Fixing copy command for structure and symlinks.
This commit is contained in:
parent
ba6572c3cf
commit
0b3b10a791
|
@ -595,7 +595,7 @@ class Build():
|
||||||
for libdir in libdirs:
|
for libdir in libdirs:
|
||||||
fulllibdir = os.path.abspath(os.path.join(temporary, libdir))
|
fulllibdir = os.path.abspath(os.path.join(temporary, libdir))
|
||||||
subprocess.run(shlex.split(
|
subprocess.run(shlex.split(
|
||||||
r"find " + fulllibdir + r" -type f -iname \*.so\* -exec cp {} " + os.path.dirname(main_executable) + r"/ \;"
|
f"cp -Ra {fullibdir}/. {os.path.dirname(main_executable)}/"
|
||||||
), cwd=temporary, check=True)
|
), cwd=temporary, check=True)
|
||||||
|
|
||||||
# Find the name of the binary called in the desktop file.
|
# Find the name of the binary called in the desktop file.
|
||||||
|
|
Loading…
Reference in New Issue