summaryrefslogtreecommitdiff
path: root/run/dcpomatic_editor
diff options
context:
space:
mode:
Diffstat (limited to 'run/dcpomatic_editor')
-rwxr-xr-xrun/dcpomatic_editor6
1 files changed, 3 insertions, 3 deletions
diff --git a/run/dcpomatic_editor b/run/dcpomatic_editor
index 28ef4a9d2..af2a8a836 100755
--- a/run/dcpomatic_editor
+++ b/run/dcpomatic_editor
@@ -1,8 +1,8 @@
#!/bin/bash
-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/10.10/lib
-export DCPOMATIC_GRAPHICS=graphics
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+source $DIR/environment
+
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_editor $*