Skip to content
Snippets Groups Projects
Commit 9a87ff91 authored by Ludovico de Nittis's avatar Ludovico de Nittis :palm_tree:
Browse files

Merge branch 'wip/ld-preload-spaces' into 'master'

pv-unruntime: Split LD_PRELOAD on either colons or spaces

See merge request !352
parents d60a441e 8a1cf7e8
No related branches found
No related tags found
1 merge request!352pv-unruntime: Split LD_PRELOAD on either colons or spaces
...@@ -111,10 +111,15 @@ unset PRESSURE_VESSEL_APP_LD_LIBRARY_PATH ...@@ -111,10 +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=": "
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.
Please register or to comment