X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=run%2Fdcpomatic_create;h=7f88082bd02a7583b7439336abbeaf4417ed0c9f;hp=63310315ece18079e1a0bb8a3f6f9583afe749af;hb=e81c5eb9e8ff875240dde9fdaaab0a46f99af615;hpb=99428af22969a6cfb1dbd2053a9356bb23b3182f diff --git a/run/dcpomatic_create b/run/dcpomatic_create index 63310315e..7f88082bd 100755 --- a/run/dcpomatic_create +++ b/run/dcpomatic_create @@ -1,6 +1,9 @@ #!/bin/bash -export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH +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 $*