Environment: fix LD_LIBRARY_PATH not being set correctly if it has a preexisting value
parent
7dfa8365f8
commit
274f18e693
|
@ -31,7 +31,7 @@ function build {
|
||||||
if [ -z "$LD_LIBRARY_PATH" ]; then
|
if [ -z "$LD_LIBRARY_PATH" ]; then
|
||||||
export LD_LIBRARY_PATH="$PROJECT_BASE_DIR"/bin/lib
|
export LD_LIBRARY_PATH="$PROJECT_BASE_DIR"/bin/lib
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
unset PROJECT_BASE_DIR
|
unset PROJECT_BASE_DIR
|
||||||
|
|
Loading…
Reference in New Issue