projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix two more badly-adapted instantiations of EditableList and make
[dcpomatic.git]
/
run
/
dcpomatic_kdm_cli
diff --git
a/run/dcpomatic_kdm_cli
b/run/dcpomatic_kdm_cli
index 0f75232cb68696c459658e67b5dac1bc5da51cb3..e9d0f300ad26ff3d99a6d2a182c4163d7f1fd563 100755
(executable)
--- a/
run/dcpomatic_kdm_cli
+++ b/
run/dcpomatic_kdm_cli
@@
-1,8
+1,8
@@
#!/bin/bash
#!/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:/home/c.hetherington/lib:$LD_LIBRARY_PATH:build/src
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_kdm_cli "$@"
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_kdm_cli "$@"