From 1af49c0da70b17dce911ffcbc78082238860404a Mon Sep 17 00:00:00 2001 From: Vasily Date: Sun, 17 Mar 2019 20:00:22 +0100 Subject: [PATCH] Update run script with different library call --- build_scripts/linux/run-with-library.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_scripts/linux/run-with-library.sh b/build_scripts/linux/run-with-library.sh index eb0585f..6415f5b 100644 --- a/build_scripts/linux/run-with-library.sh +++ b/build_scripts/linux/run-with-library.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$(dirname $0)" -./AdvancedSettings +BASEDIR=$(dirname "$0") +LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$BASEDIR" "$BASEDIR/AdvancedSettings" $@