Skip to content
Snippets Groups Projects
Commit a9e041f9 authored by marco's avatar marco
Browse files

skip nonexisting files when copying deps

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2613 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 8ee13551
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,8 @@ def copy_deps(dependencies, outdir, use_rpath):
for dep in dependencies:
if dep.endswith('.dylib'):
dst_name=os.path.join(outdir, 'lib', os.path.basename(dep))
if not os.path.exists(dep):
continue
shutil.copy(dep, dst_name)
if use_rpath:
change_id(os.path.basename(dep), dst_name, use_rpath)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment