summaryrefslogtreecommitdiff
path: root/scripts/xldd.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-16 20:45:51 (GMT)
committerAlexey Neyman <stilor@att.net>2017-02-16 20:45:51 (GMT)
commit5ea3f2967f105713ec0c707b4f3da9519912f9d0 (patch)
treebb5d0be43c62ee7dfc875c45a3c0c7b712f4a192 /scripts/xldd.in
parent2d1b469f888858180ee95d43a0b89981b38cf93e (diff)
Fix breakage from sed_r change in some auxiliary scripts
... do not overquote the variables from paths.sh. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/xldd.in')
-rw-r--r--scripts/xldd.in12
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