diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-27 03:06:10 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-02-27 03:06:10 (GMT) |
commit | df1e3e32cfb7cf09e4636b08eeffb53181ca1e83 (patch) | |
tree | 3b85769dcfb016280c4845ce88ea851e93f664ab /scripts/xldd.in | |
parent | 85ae00c1a6331d7738abb406a1eb59091c8a4535 (diff) |
Revert "Fix breakage from sed_r change in some auxiliary scripts"
This reverts commit 5ea3f2967f105713ec0c707b4f3da9519912f9d0.
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 cea0394..9aa8b61 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 |