Fix run/dcpomatic_batch script to work again.
authorCarl Hetherington <cth@carlh.net>
Thu, 23 Jul 2015 23:30:07 +0000 (00:30 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 23 Jul 2015 23:30:07 +0000 (00:30 +0100)
run/dcpomatic_batch

index 80cf5291c8a1eee80e2a0af05e2f0eae5b00e438..6a8207c14a602710ec040cb245247c6ae832e16a 100755 (executable)
@@ -3,19 +3,19 @@
 export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH
 if [ "$1" == "--debug" ]; then
     shift
-    gdb --args build/src/tools/dcpomatic_batch $*
+    gdb --args build/src/tools/dcpomatic2_batch $*
 elif [ "$1" == "--valgrind" ]; then
     shift
-    valgrind --tool="memcheck" --suppressions=valgrind.supp --leak-check=full --show-reachable=yes build/src/tools/dcpomatic_batch $*
+    valgrind --tool="memcheck" --suppressions=valgrind.supp --leak-check=full --show-reachable=yes build/src/tools/dcpomatic2_batch $*
 elif [ "$1" == "--massif" ]; then
     shift
-    valgrind --tool="massif" build/src/tools/dcpomatic_batch $*
+    valgrind --tool="massif" build/src/tools/dcpomatic2_batch $*
 elif [ "$1" == "--callgrind" ]; then
     shift
-    valgrind --tool="callgrind" build/src/tools/dcpomatic_batch $*
+    valgrind --tool="callgrind" build/src/tools/dcpomatic2_batch $*
 elif [ "$1" == "--i18n" ]; then
     shift
-    LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 LC_ALL=fr_FR.UTF8 build/src/tools/dcpomatic_batch "$*"
+    LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 LC_ALL=fr_FR.UTF8 build/src/tools/dcpomatic2_batch "$*"
 else
-    build/src/tools/dcpomatic_batch $*
+    build/src/tools/dcpomatic2_batch $*
 fi