projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Report the number of active channels in DCPs, not the number in the MXF.
[dcpomatic.git]
/
run
/
dcpomatic_server_cli
diff --git
a/run/dcpomatic_server_cli
b/run/dcpomatic_server_cli
index bc5790adf69e01ceacfc9f2153ac8bc7acea991a..b1dffe079571524003bf896596d3ec7738c22389 100755
(executable)
--- a/
run/dcpomatic_server_cli
+++ b/
run/dcpomatic_server_cli
@@
-1,10
+1,14
@@
#!/bin/bash
#!/bin/bash
-export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+source $DIR/environment
+
if [ "$1" == "--debug" ]; then
if [ "$1" == "--debug" ]; then
- gdb --args build/src/tools/dcpomatic_server_cli
+ shift
+ gdb --args build/src/tools/dcpomatic2_server_cli $*
elif [ "$1" == "--valgrind" ]; then
elif [ "$1" == "--valgrind" ]; then
- valgrind --tool="memcheck" build/src/tools/dcpomatic_server_cli
+ shift
+ valgrind --tool="memcheck" build/src/tools/dcpomatic2_server_cli $*
else
else
- build/src/tools/dcpomatic
_server_cli
+ build/src/tools/dcpomatic
2_server_cli $*
fi
fi