X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdcpomatic_create;h=693f9a05d10b7c9f0b23aafeffd373c4046a5fef;hb=7ea73fdcfa96aac86546b80b6e6c2edbdd524199;hp=7931578cfd727e584c2744d750aee42bb7faf340;hpb=5797d31e6f9766c88f241a5c4cf4cd9709b36b0a;p=dcpomatic.git diff --git a/run/dcpomatic_create b/run/dcpomatic_create index 7931578cf..693f9a05d 100755 --- a/run/dcpomatic_create +++ b/run/dcpomatic_create @@ -1,8 +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 if [ "$1" == "--debug" ]; then shift gdb --args build/src/tools/dcpomatic2_create $*