projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Catch system errors while doing backtraces.
[dcpomatic.git]
/
run
/
dcpomatic_cli
diff --git
a/run/dcpomatic_cli
b/run/dcpomatic_cli
index ba73ecf3f375a5c583b8ac1502a72d80da19a041..f2cacd7a22c9ddd8ac26ae7db6cdd0b17e07c5f5 100755
(executable)
--- a/
run/dcpomatic_cli
+++ b/
run/dcpomatic_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:build/src:/home/c.hetherington/lib:$LD_LIBRARY_PATH
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_cli "$@"
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_cli "$@"