X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdcpomatic_create;h=7f88082bd02a7583b7439336abbeaf4417ed0c9f;hb=e54d42a80de7c9a22caa4d0426f4371d83a8dee0;hp=bf3c3c49342428cc53f78cb9df5946d85d5aa705;hpb=ad49361b303d1ceff7048fa0e89ba609ca9ce376;p=dcpomatic.git diff --git a/run/dcpomatic_create b/run/dcpomatic_create index bf3c3c493..7f88082bd 100755 --- a/run/dcpomatic_create +++ b/run/dcpomatic_create @@ -1,18 +1,21 @@ #!/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/dcpomatic_create $* + gdb --args build/src/tools/dcpomatic2_create $* elif [ "$1" == "--valgrind" ]; then shift - valgrind --tool="memcheck" build/src/tools/dcpomatic_create $* + valgrind --tool="memcheck" build/src/tools/dcpomatic2_create $* elif [ "$1" == "--callgrind" ]; then shift - valgrind --tool="callgrind" build/src/tools/dcpomatic_create $* + valgrind --tool="callgrind" build/src/tools/dcpomatic2_create $* elif [ "$1" == "--perf" ]; then shift - perf record build/src/tools/dcpomatic_create $* + perf record build/src/tools/dcpomatic2_create $* else - build/src/tools/dcpomatic_create $* + build/src/tools/dcpomatic2_create $* fi