Add missing LocaleGuard to prevent commas getting into config files.
[dcpomatic.git] / run / dcpomatic
index 7ea08778c2ac3111abfca54eb2a0dae2867a4ed8..d79266d3a1337db0b2c4d0b60c6e59c5fd791952 100755 (executable)
@@ -7,9 +7,12 @@ 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=fr_FR.UTF8 LANG=fr_FR.UTF8 LC_ALL=fr_FR.UTF8 build/src/tools/dcpomatic "$*"
 else
     build/src/tools/dcpomatic $*
 fi