projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Limit the size of the recipient file name in the screen dialog.
[dcpomatic.git]
/
run
/
dcpomatic_player
diff --git
a/run/dcpomatic_player
b/run/dcpomatic_player
index 922b8ff0ffc2d524ef3aeacc65dd335cb2e7937c..1c8a69b9eec1a5288c9923a83a378fe37d151094 100755
(executable)
--- a/
run/dcpomatic_player
+++ b/
run/dcpomatic_player
@@
-1,7
+1,8
@@
#!/bin/bash
#!/bin/bash
-export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:/home/c.hetherington/lib:$LD_LIBRARY_PATH
-export DYLD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:/Users/c.hetherington/osx-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_player $*
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_player $*