X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdcpomatic_cli;h=f2cacd7a22c9ddd8ac26ae7db6cdd0b17e07c5f5;hb=592e22afa11706f61f39eeb038be56adea09cbc8;hp=02d80a57499e19dbab14bb7807ab809b0b1d4f1d;hpb=b3234e76d2f614c2b05034c0bdae8d5a4e9de9ea;p=dcpomatic.git diff --git a/run/dcpomatic_cli b/run/dcpomatic_cli index 02d80a574..f2cacd7a2 100755 --- a/run/dcpomatic_cli +++ b/run/dcpomatic_cli @@ -1,5 +1,7 @@ #!/bin/bash +cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/.. + export LD_LIBRARY_PATH=build/src/lib:build/src:/home/c.hetherington/lib:$LD_LIBRARY_PATH if [ "$1" == "--debug" ]; then shift