Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check soname in dictionary #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions copydeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,13 @@ def _traverse_tree(self, binary):
if soname in self.processed_sonames:
continue
self.processed_sonames.add(soname)
path = self.path_for_binary[soname]
if self.dry_run:
printerr("Would copy {} to {}".format(path, self.destdir))
else:
copy(path, self.destdir)
self._traverse_tree(soname)
if soname in self.path_for_binary:
path = self.path_for_binary[soname]
if self.dry_run:
printerr("Would copy {} to {}".format(path, self.destdir))
else:
copy(path, self.destdir)
self._traverse_tree(soname)

def _graph_excluded_dependency(self, binary, soname):
self.dot_fp.write(' "{}" {};\n'.format(soname, DOT_EXCLUDED_ATTRS))
Expand Down