summaryrefslogtreecommitdiff
path: root/run/dcpomatic_kdm_cli
diff options
context:
space:
mode:
Diffstat (limited to 'run/dcpomatic_kdm_cli')
-rwxr-xr-xrun/dcpomatic_kdm_cli2
1 files changed, 2 insertions, 0 deletions
diff --git a/run/dcpomatic_kdm_cli b/run/dcpomatic_kdm_cli
index ce32ef555..0f75232cb 100755
--- a/run/dcpomatic_kdm_cli
+++ b/run/dcpomatic_kdm_cli
@@ -1,5 +1,7 @@
#!/bin/bash
+cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/..
+
export LD_LIBRARY_PATH=build/src/lib:/home/c.hetherington/lib:$LD_LIBRARY_PATH:build/src
if [ "$1" == "--debug" ]; then
shift