aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-11-26 14:07:10 -0500
committerAnthony G. Basile <blueness@gentoo.org>2011-11-26 14:08:35 -0500
commit5842245558f2b65bcfd0d4f0fa1739cbbb1cd02e (patch)
tree9b1c5b6e82e2e89bfcbb33e40a2bb7636421614a
parentImproved readability of doc/revdep-pax.1 and scripts/revdep-pax (diff)
downloadelfix-5842245558f2b65bcfd0d4f0fa1739cbbb1cd02e.tar.gz
elfix-5842245558f2b65bcfd0d4f0fa1739cbbb1cd02e.tar.bz2
elfix-5842245558f2b65bcfd0d4f0fa1739cbbb1cd02e.zip
scripts/revdep-pax: improved -e switch, mark only for shell PATH
-rwxr-xr-xscripts/revdep-pax3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/revdep-pax b/scripts/revdep-pax
index 827d700..70e8db7 100755
--- a/scripts/revdep-pax
+++ b/scripts/revdep-pax
@@ -312,6 +312,9 @@ def run_soname(name, verbose, use_soname, executable_only, mark):
print '\tWill mark binaries with %s' % library_flags
print
for binary in mismatched_binaries:
+ if executable_only:
+ if not os.path.dirname(binary) in shell_path:
+ continue
do_marking = False
while True:
ans = raw_input('\tSet flags for %s (y/n): ' % binary)