Environment: fix LD_LIBRARY_PATH not being set correctly if it has a preexisting value

BodgeMaster-unfinished
BodgeMaster 2022-06-28 18:06:24 +02:00
parent 7dfa8365f8
commit 274f18e693
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ function build {
if [ -z "$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH="$PROJECT_BASE_DIR"/bin/lib
else
export LD_LIBRARY_PATH="$PROJECT_BASE_DIR"/bin/lib:"LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$PROJECT_BASE_DIR"/bin/lib:"$LD_LIBRARY_PATH"
fi
unset PROJECT_BASE_DIR