Skip to content
Snippets Groups Projects
Commit 8a1cf7e8 authored by Simon McVittie's avatar Simon McVittie
Browse files

pv-unruntime: Avoid passing --ld-audit= or --ld-preload= to pv-wrap


There's no point in giving it an option that it will just ignore.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 0bfeb5ae
No related branches found
No related tags found
1 merge request!352pv-unruntime: Split LD_PRELOAD on either colons or spaces
Pipeline #16484 passed
...@@ -111,11 +111,15 @@ unset PRESSURE_VESSEL_APP_LD_LIBRARY_PATH ...@@ -111,11 +111,15 @@ unset PRESSURE_VESSEL_APP_LD_LIBRARY_PATH
old_IFS="$IFS" old_IFS="$IFS"
IFS=":" IFS=":"
for word in $ld_audit; do for word in $ld_audit; do
options+=("--ld-audit=$word") if [ -n "$word" ]; then
options+=("--ld-audit=$word")
fi
done done
IFS=": " IFS=": "
for word in $ld_preload; do for word in $ld_preload; do
options+=("--ld-preload=$word") if [ -n "$word" ]; then
options+=("--ld-preload=$word")
fi
done done
IFS="$old_IFS" IFS="$old_IFS"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment