projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tidy up the run/ directory a little.
[dcpomatic.git]
/
run
/
dcpomatic_disk_writer
diff --git
a/run/dcpomatic_disk_writer
b/run/dcpomatic_disk_writer
index 6d20f3ae46391ac34d63f07091f1be621b8e6b6e..b2e1a872ddee4dbc3fd442e801e1d5fabc589943 100755
(executable)
--- a/
run/dcpomatic_disk_writer
+++ b/
run/dcpomatic_disk_writer
@@
-1,10
+1,12
@@
#!/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:$HOME/osx-environment/x86_64/lib
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+source $DIR/environment
+
exe=build/src/tools/dcpomatic2_disk_writer
sudo chown root $exe
sudo chmod 4755 $exe
exe=build/src/tools/dcpomatic2_disk_writer
sudo chown root $exe
sudo chmod 4755 $exe
+
if [ "$1" == "--debug" ]; then
shift
gdb --args $exe $*
if [ "$1" == "--debug" ]; then
shift
gdb --args $exe $*