dotnet-hook.sh: fix library path in wrapper (#432846)

This commit is contained in:
David McFarland
2025-08-11 13:15:14 -03:00
committed by GitHub
@@ -251,7 +251,7 @@ dotnetFromEnv'
local wrapperFlags=()
if (( ${#runtimeDeps[@]} > 0 )); then
local libraryPath=("${dotnetRuntimeDeps[@]/%//lib}")
local libraryPath=("${runtimeDeps[@]/%//lib}")
local OLDIFS="$IFS" IFS=':'
wrapperFlags+=("--suffix" "LD_LIBRARY_PATH" ":" "${libraryPath[*]}")
IFS="$OLDIFS"