Bump version
[dcpomatic.git] / run / dvdomatic
index 23b7d22edef392396d1d3b88808743ec5493cec0..ff38970646e168179858fa04977c8a2cf0ce3bfa 100755 (executable)
@@ -1,10 +1,12 @@
 #!/bin/bash
 
-export LD_LIBRARY_PATH=build/src/lib:build/src/gtk:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH
 if [ "$1" == "--debug" ]; then
-    gdb --args build/src/tools/dvdomatic $2
+    shift
+    gdb --args build/src/tools/dvdomatic "$*"
 elif [ "$1" == "--valgrind" ]; then
-    valgrind --tool="memcheck" build/src/tools/dvdomatic $2
+    shift
+    valgrind --tool="memcheck" build/src/tools/dvdomatic $*
 else
-    build/src/tools/dvdomatic "$1"
+    build/src/tools/dvdomatic "$*"
 fi