diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-17 18:42:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-17 18:42:31 (GMT) |
commit | eb8c9024b4fe51925aff3d8d158188a97034a445 (patch) | |
tree | 40fd555a6ccfca5b6c6b39af61248e6a0be6e452 /scripts/xldd.in | |
parent | 16b1bdb89410b67bcf85f67caee13682025cdde9 (diff) | |
parent | 4d17f393bdecbef632f4f6e2aa6ec44951c5a4c4 (diff) |
Merge pull request #604 from stilor/strace-4.16
Strace 4.16
Diffstat (limited to 'scripts/xldd.in')
-rw-r--r-- | scripts/xldd.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/xldd.in b/scripts/xldd.in index 9aa8b61..cea0394 100644 --- a/scripts/xldd.in +++ b/scripts/xldd.in @@ -258,9 +258,9 @@ do_process_file() { do_trace "Parsing file '%s'\n" "${file}" save_search_rpath=( "${search_rpath[@]}" ) - for n in $( "${readelf}" -d "${file}" \ - |"${grep}" -E '\((RPATH|RUNPATH)\)' \ - |"${sed_r}" -e 's/^.*Library r(|un)path:[[:space:]]+\[(.*)\]$/\2/;'\ + for n in $( ${readelf} -d "${file}" \ + |${grep} -E '\((RPATH|RUNPATH)\)' \ + |${sed_r} -e 's/^.*Library r(|un)path:[[:space:]]+\[(.*)\]$/\2/;'\ ); do do_trace "-> adding rpath '%s'\n" "${n}" search_rpath+=( "${n}" ) @@ -271,9 +271,9 @@ do_process_file() { done do_trace ": end search path\n" - for n in $( "${readelf}" -d "${file}" \ - |"${grep}" -E '\(NEEDED\)' \ - |"${sed_r}" -e 's/^.*Shared library:[[:space:]]+\[([^]]+)\].*/\1/;' \ + for n in $( ${readelf} -d "${file}" \ + |${grep} -E '\(NEEDED\)' \ + |${sed_r} -e 's/^.*Shared library:[[:space:]]+\[([^]]+)\].*/\1/;' \ ); do found=0 for m in "${needed_list[@]}"; do |