X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdcpomatic_kdm;h=d0160ef7a3997a0db9a90167a34e42b9ec15eea1;hb=HEAD;hp=b523f01c6452d453c5696b3a457e7cf5edf1e385;hpb=1cbccd1559bd1ab8abcb4ebd0438dbc609d8232f;p=dcpomatic.git diff --git a/run/dcpomatic_kdm b/run/dcpomatic_kdm index b523f01c6..d0160ef7a 100755 --- a/run/dcpomatic_kdm +++ b/run/dcpomatic_kdm @@ -1,8 +1,8 @@ #!/bin/bash -export LD_LIBRARY_PATH=build/src/lib:build/src/wx:/home/c.hetherington/lib:$LD_LIBRARY_PATH -export DYLD_LIBRARY_PATH=build/src/lib:build/src/wx:/carl/Environment/64/lib -export DCPOMATIC_GRAPHICS=graphics +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +source $DIR/environment + if [ "$1" == "--debug" ]; then shift gdb --args build/src/tools/dcpomatic2_kdm $*