cp -av and print the output
This commit is contained in:
@@ -187,8 +187,10 @@ if platform == "darwin":
|
|||||||
break
|
break
|
||||||
print(f'copying from {src_path}')
|
print(f'copying from {src_path}')
|
||||||
# Copying .frameworks needs to preserve symlinks by using cp -a
|
# Copying .frameworks needs to preserve symlinks by using cp -a
|
||||||
if subprocess.call(['cp', '-a', src_path, dest_path]) != 0:
|
try:
|
||||||
print('cp -a failed')
|
print(subprocess.check_output(['cp', '-av', src_path, dest_path], text=True))
|
||||||
|
except:
|
||||||
|
print('cp -av failed')
|
||||||
Exit(1)
|
Exit(1)
|
||||||
# Recursively bundle the dependencies of each dependency:
|
# Recursively bundle the dependencies of each dependency:
|
||||||
bundle_libraries_for(target, [File(check_path)], env)
|
bundle_libraries_for(target, [File(check_path)], env)
|
||||||
|
Reference in New Issue
Block a user