X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdcpomatic;h=8da7d7fab2fcc38cbffb7cc658764c569ed2bb34;hb=25eb7aa723af004162fc7f95995df250c4e4571b;hp=dc6416848c6e8570539a80be0eb178be9711402e;hpb=d7d6a97d2aa6c71289cbcb7ec1caa07e08258deb;p=dcpomatic.git diff --git a/run/dcpomatic b/run/dcpomatic index dc6416848..8da7d7fab 100755 --- a/run/dcpomatic +++ b/run/dcpomatic @@ -1,11 +1,9 @@ #!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -build=$DIR/../build -export LD_LIBRARY_PATH=$build/src/lib:$build/src/wx:$build/src/asdcplib/src:$LD_LIBRARY_PATH -export DYLD_LIBRARY_PATH=$build/src/lib:$build/src/wx:$build/src/asdcplib/src:/Users/ci/osx-environment/x86_64/lib -export DCPOMATIC_GRAPHICS=$DIR/../graphics +source $DIR/environment binary=$build/src/tools/dcpomatic2 + if [ "$1" == "--debug" ]; then shift gdb --args $binary $*