Skip to content

Commit

Permalink
Try to improve things
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa committed Oct 10, 2024
1 parent ac224a0 commit 465dd47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ if [ "$LD_PRELOAD_MODE" -eq 1 ]; then
for listed_lib in "${matched_libraries[@]}"; do
# Matching to the .so or a symlink target is enough
realpath_lib=$(realpath "$listed_lib")
if [[ "$lib" == "$listed_lib"* || "$lib" == "$realpath_lib" ]]; then
if [[ "$lib" == "$listed_lib"* || "$realpath_lib" == *"$lib" ]]; then
found=true
break
fi
Expand Down

0 comments on commit 465dd47

Please sign in to comment.