Hack to allow OS X to find timeline icons when running from the source tree.
[dcpomatic.git] / run / dcpomatic
index 5f40a2d80c54a5a2502150e06e28b92f53b0ad0d..ee509fcbd24293d22968d1696456b73b1bea8271 100755 (executable)
@@ -1,7 +1,9 @@
 #!/bin/bash
 
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 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
+export DCPOMATIC_GRAPHICS=$DIR/../graphics
 if [ "$1" == "--debug" ]; then
     shift
     gdb --args build/src/tools/dcpomatic2 $*