summaryrefslogtreecommitdiff
path: root/run/dcpomatic_kdm_cli
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-07 11:35:07 +0100
committerCarl Hetherington <cth@carlh.net>2019-05-07 11:35:46 +0100
commit2df5e3ab3636e0c38c3003631d0d6acdb5bd23c6 (patch)
treea6617536a14f63c5b3a49ae423a93feb6a9d1b65 /run/dcpomatic_kdm_cli
parent2d2dbb9858d9d5c81e7e4aae63e6b34799b540d3 (diff)
Fix manual build.
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