Skip to content
Snippets Groups Projects

pv-unruntime: Split LD_PRELOAD on either colons or spaces

Merged Simon McVittie requested to merge wip/ld-preload-spaces into master
All threads resolved!
1 file
+ 7
2
Compare changes
  • Side-by-side
  • Inline
@@ -111,10 +111,15 @@ unset PRESSURE_VESSEL_APP_LD_LIBRARY_PATH
old_IFS="$IFS"
IFS=":"
for word in $ld_audit; do
options+=("--ld-audit=$word")
if [ -n "$word" ]; then
options+=("--ld-audit=$word")
fi
done
IFS=": "
for word in $ld_preload; do
options+=("--ld-preload=$word")
if [ -n "$word" ]; then
options+=("--ld-preload=$word")
fi
done
IFS="$old_IFS"
Loading