diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-03 00:42:35 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-03 00:42:35 +0200 |
| commit | 27312cda2990371d7bf44a94a7513b0117db6ac1 (patch) | |
| tree | 80380c3310b49d8d56b2a96fe86eb5f402bddb3a /run/dcpomatic_create | |
| parent | 11aac314d1e87beb51907419b93caaede52e8844 (diff) | |
Tidy up the run/ directory a little.v2.16.16
Diffstat (limited to 'run/dcpomatic_create')
| -rwxr-xr-x | run/dcpomatic_create | 5 |
1 files changed, 2 insertions, 3 deletions
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 $* |
