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
diff --git
a/run/dcpomatic_kdm
b/run/dcpomatic_kdm
index 7bae70388452655b7394e920c0d375fcdcd4f2dd..d0160ef7a3997a0db9a90167a34e42b9ec15eea1 100755
(executable)
--- a/
run/dcpomatic_kdm
+++ b/
run/dcpomatic_kdm
@@
-1,7
+1,8
@@
#!/bin/bash
#!/bin/bash
-export LD_LIBRARY_PATH=build/src/lib:build/src/wx:/home/c.hetherington/lib:$LD_LIBRARY_PATH
-export DYLD_LIBRARY_PATH=build/src/lib:build/src/wx:/carl/Environment/64/lib
+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_kdm $*
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_kdm $*
@@
-16,7
+17,7
@@
elif [ "$1" == "--massif" ]; then
valgrind --tool="massif" build/src/tools/dcpomatic2_kdm $*
elif [ "$1" == "--i18n" ]; then
shift
valgrind --tool="massif" build/src/tools/dcpomatic2_kdm $*
elif [ "$1" == "--i18n" ]; then
shift
- LANGUAGE=
fr_FR.UTF8 LANG=fr_FR.UTF8 LC_ALL=fr_FR.UTF8 build/src/tools/dcpomatic2_kdm "$*"
+ LANGUAGE=
ru_RU.UTF8 LANG=ru_RU.UTF8 LC_ALL=ru_RU.UTF8 build/src/tools/dcpomatic2_kdm $*
elif [ "$1" == "--perf" ]; then
shift
perf record build/src/tools/dcpomatic2_kdm $*
elif [ "$1" == "--perf" ]; then
shift
perf record build/src/tools/dcpomatic2_kdm $*