projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix finding of graphics when running from the source tree on Linux.
[dcpomatic.git]
/
run
/
dcpomatic_kdm_cli
diff --git
a/run/dcpomatic_kdm_cli
b/run/dcpomatic_kdm_cli
index d00990375e256015167b4d747bd8de6e1a7469f8..0f75232cb68696c459658e67b5dac1bc5da51cb3 100755
(executable)
--- a/
run/dcpomatic_kdm_cli
+++ b/
run/dcpomatic_kdm_cli
@@
-1,6
+1,8
@@
#!/bin/bash
#!/bin/bash
-export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH:build/src
+cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/..
+
+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 "$@"