Fix broken build-ld-cache script

Fix reference to LD_LIBRARY_PATH missing last H.

Signed-off-by: Daniel Llewellyn <daniel@bowlhat.net>
This commit is contained in:
Daniel Llewellyn
2020-05-15 20:58:18 +01:00
parent 3e3b843aa8
commit b4e60fa878

View File

@@ -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"