X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=run%2Fdcpomatic_kdm_cli;h=0f75232cb68696c459658e67b5dac1bc5da51cb3;hp=ce32ef5552b22dd433b104cc1f6b660d6f115978;hb=6d686ea45f5cd01a0d11f92a903ac77779ad8562;hpb=81301e260bad6944a75b3d20c1be4f2ff9929db7 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