diff options
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 |