Add nascent dcpomatic_create.
[dcpomatic.git] / run / dcpomatic
index 7ea08778c2ac3111abfca54eb2a0dae2867a4ed8..255417b3f8f62dc1e720a68f0e0a67093e01eae3 100755 (executable)
@@ -7,9 +7,15 @@ if [ "$1" == "--debug" ]; then
 elif [ "$1" == "--valgrind" ]; then
     shift
     valgrind --tool="memcheck" build/src/tools/dcpomatic $*
+elif [ "$1" == "--callgrind" ]; then
+    shift
+    valgrind --tool="callgrind" build/src/tools/dcpomatic $*
 elif [ "$1" == "--i18n" ]; then
     shift
-    LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 build/src/tools/dcpomatic "$*"
+    LANGUAGE=sv_SE.UTF8 LANG=sv_SE.UTF8 LC_ALL=sv_SE.UTF8 build/src/tools/dcpomatic "$*"
+elif [ "$1" == "--perf" ]; then
+    shift
+    perf record build/src/tools/dcpomatic $*
 else
     build/src/tools/dcpomatic $*
 fi