diff --git a/scripts/build-ld-cache b/scripts/build-ld-cache index 7e67d7e..3629153 100755 --- a/scripts/build-ld-cache +++ b/scripts/build-ld-cache @@ -8,7 +8,7 @@ LD_LIBRARY_PATH="${LD_LIBRARY_PATH//::/:}" # Remove leading empty element if it exists LD_LIBRARY_PATH="${LD_LIBRARY_PATH#:}" # Remove trailing empty element if it exists -LD_LIBRARY_PATH="${LD_LIBRARY_PAT%:}" +LD_LIBRARY_PATH="${LD_LIBRARY_PATH%:}" # run ldconfig on our LD_LIBRARY_PATH lib dirs IFS=':' read -ra PATHS <<< "$LD_LIBRARY_PATH"