From 274f18e6932900ae7696b55b562958f66d5d99e3 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Tue, 28 Jun 2022 18:06:24 +0200 Subject: [PATCH] Environment: fix LD_LIBRARY_PATH not being set correctly if it has a preexisting value --- setupenv.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setupenv.bashrc b/setupenv.bashrc index ead5cab..949b9cf 100644 --- a/setupenv.bashrc +++ b/setupenv.bashrc @@ -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