Skip to content

Commit

Permalink
cp -av and print the output
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Sep 8, 2024
1 parent f048188 commit de294dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,10 @@ if platform == "darwin":
break
print(f'copying from {src_path}')
# Copying .frameworks needs to preserve symlinks by using cp -a
if subprocess.call(['cp', '-a', src_path, dest_path]) != 0:
print('cp -a failed')
try:
print(subprocess.check_output(['cp', '-av', src_path, dest_path], text=True))
except:
print('cp -av failed')
Exit(1)
# Recursively bundle the dependencies of each dependency:
bundle_libraries_for(target, [File(check_path)], env)
Expand Down

0 comments on commit de294dc

Please sign in to comment.