X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdcpomatic_create;h=7f88082bd02a7583b7439336abbeaf4417ed0c9f;hb=a1f7bf2d9e5610075fbd898cdf52f4f8373741f2;hp=b3fe330c5d5eb78fb2d48441b8b39c3c0f03a99c;hpb=21d5ca8c20193c3e62f4b0ca5033ebe0bc2ea21d;p=dcpomatic.git diff --git a/run/dcpomatic_create b/run/dcpomatic_create index b3fe330c5..7f88082bd 100755 --- a/run/dcpomatic_create +++ b/run/dcpomatic_create @@ -1,6 +1,9 @@ #!/bin/bash +cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/.. + 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:build/src/asdcplib/src:/Users/c.hetherington/osx-environment/64/lib if [ "$1" == "--debug" ]; then shift gdb --args build/src/tools/dcpomatic2_create $*