summaryrefslogtreecommitdiff
path: root/run/dcpomatic_cli
diff options
context:
space:
mode:
Diffstat (limited to 'run/dcpomatic_cli')
-rwxr-xr-xrun/dcpomatic_cli4
1 files changed, 2 insertions, 2 deletions
diff --git a/run/dcpomatic_cli b/run/dcpomatic_cli
index b24090db9..9a5cae647 100755
--- a/run/dcpomatic_cli
+++ b/run/dcpomatic_cli
@@ -1,8 +1,8 @@
#!/bin/bash
-cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/..
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+source $DIR/environment
-export LD_LIBRARY_PATH=build/src/lib:build/src:/home/c.hetherington/lib:$LD_LIBRARY_PATH
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_cli "$@"