build_release: Use correct path when copying dirs
This commit is contained in:
parent
7ecdd6c1c5
commit
8f03a36862
@ -109,7 +109,7 @@ def patch_osx_app():
|
|||||||
for f in glob.glob(os.path.join(qtwe_core_dir, 'Resources', '*')):
|
for f in glob.glob(os.path.join(qtwe_core_dir, 'Resources', '*')):
|
||||||
dest = os.path.join(app_path, 'Contents', 'Resources')
|
dest = os.path.join(app_path, 'Contents', 'Resources')
|
||||||
if os.path.isdir(f):
|
if os.path.isdir(f):
|
||||||
dir_dest = os.path.join(dest, f)
|
dir_dest = os.path.join(dest, os.path.basename(f))
|
||||||
print("Copying directory {} to {}".format(f, dir_dest))
|
print("Copying directory {} to {}".format(f, dir_dest))
|
||||||
shutil.copytree(f, dir_dest)
|
shutil.copytree(f, dir_dest)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user