projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo in log message.
[dcpomatic.git]
/
run
/
dcpomatic_batch
diff --git
a/run/dcpomatic_batch
b/run/dcpomatic_batch
index 6a8207c14a602710ec040cb245247c6ae832e16a..6ff689ecf47c87e4bc52cb5cb30da729af8a1c2c 100755
(executable)
--- a/
run/dcpomatic_batch
+++ b/
run/dcpomatic_batch
@@
-1,6
+1,8
@@
#!/bin/bash
#!/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 $*
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_batch $*