summaryrefslogtreecommitdiff
path: root/run/dcpomatic_disk
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-07-03 00:42:35 +0200
committerCarl Hetherington <cth@carlh.net>2022-07-03 00:42:35 +0200
commit27312cda2990371d7bf44a94a7513b0117db6ac1 (patch)
tree80380c3310b49d8d56b2a96fe86eb5f402bddb3a /run/dcpomatic_disk
parent11aac314d1e87beb51907419b93caaede52e8844 (diff)
Tidy up the run/ directory a little.v2.16.16
Diffstat (limited to 'run/dcpomatic_disk')
-rwxr-xr-xrun/dcpomatic_disk5
1 files changed, 3 insertions, 2 deletions
diff --git a/run/dcpomatic_disk b/run/dcpomatic_disk
index 591fc01fe..a4b4ead55 100755
--- a/run/dcpomatic_disk
+++ b/run/dcpomatic_disk
@@ -1,7 +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:$HOME/osx-environment/x86_64/lib
+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_disk $*