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_batch | |
| parent | 11aac314d1e87beb51907419b93caaede52e8844 (diff) | |
Tidy up the run/ directory a little.v2.16.16
Diffstat (limited to 'run/dcpomatic_batch')
| -rwxr-xr-x | run/dcpomatic_batch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/run/dcpomatic_batch b/run/dcpomatic_batch index 6a8207c14..6ff689ecf 100755 --- a/run/dcpomatic_batch +++ b/run/dcpomatic_batch @@ -1,6 +1,8 @@ #!/bin/bash -export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH +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_batch $* |
