Tweak job progress reporting.
[dcpomatic.git] / run / dvdomatic
index db8a7c4327eb2e5d7f32592ffa8c4b33033352e4..ff38970646e168179858fa04977c8a2cf0ce3bfa 100755 (executable)
@@ -1,10 +1,12 @@
 #!/bin/bash
 
-export LD_LIBRARY_PATH=build/src/lib:build/src/gtk:build/src/asdcplib/src:$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