70906a2546b8f276d0065cc40f37d4d28632713b
[dcpomatic.git] / run / dvdomatic
1 #!/bin/bash
2
3 export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH
4 if [ "$1" == "--debug" ]; then
5     shift
6     gdb --args build/src/tools/dvdomatic $*
7 elif [ "$1" == "--valgrind" ]; then
8     shift
9     valgrind --tool="memcheck" build/src/tools/dvdomatic $*
10 else
11     build/src/tools/dvdomatic $*
12 fi