projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Formatting, variable name tidying and some const correctness.
[dcpomatic.git]
/
run
/
dcpomatic_editor
diff --git
a/run/dcpomatic_editor
b/run/dcpomatic_editor
index 28ef4a9d27702074958a9634bc57c958387e37fa..af2a8a83687d1ddcda4d4895368bcf7239829814 100755
(executable)
--- a/
run/dcpomatic_editor
+++ b/
run/dcpomatic_editor
@@
-1,8
+1,8
@@
#!/bin/bash
#!/bin/bash
-export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH
-export DYLD_LIBRARY_PATH=$build/src/lib:$build/src/wx:$build/src/asdcplib/src:/Users/ci/osx-environment/x86_64/10.10/lib
-export DCPOMATIC_GRAPHICS=graphics
+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_editor $*
if [ "$1" == "--debug" ]; then
shift
gdb --args build/src/tools/dcpomatic2_editor $*