Fix manual build.
[dcpomatic.git] / run / dcpomatic_kdm_cli
index ce32ef5552b22dd433b104cc1f6b660d6f115978..0f75232cb68696c459658e67b5dac1bc5da51cb3 100755 (executable)
@@ -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