build_release: Use correct path when copying dirs

This commit is contained in:
Florian Bruhin 2017-07-04 21:31:53 +02:00
parent 7ecdd6c1c5
commit 8f03a36862

View File

@ -109,7 +109,7 @@ def patch_osx_app():
for f in glob.glob(os.path.join(qtwe_core_dir, 'Resources', '*')):
dest = os.path.join(app_path, 'Contents', 'Resources')
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))
shutil.copytree(f, dir_dest)
else: