X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdcpomatic_create;h=693f9a05d10b7c9f0b23aafeffd373c4046a5fef;hb=0b3748f2b30bf35dae2bf0a7c9bdb09d1546b502;hp=7f88082bd02a7583b7439336abbeaf4417ed0c9f;hpb=f737005941d25e5e5743a6770208f31bdca5527d;p=dcpomatic.git diff --git a/run/dcpomatic_create b/run/dcpomatic_create index 7f88082bd..693f9a05d 100755 --- a/run/dcpomatic_create +++ b/run/dcpomatic_create @@ -1,9 +1,8 @@ #!/bin/bash -cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/.. +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +source $DIR/environment -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 $*