diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-12-02 09:47:16 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-12-02 09:47:16 +0000 |
| commit | 2e42ac51aaea7391e4e7ba88b72930d6106a5df7 (patch) | |
| tree | 3077a0cf7e8b3720a81df3a89e590a0ddfee8e8c | |
| parent | da0138e1d48cb5fb82dec53c4e76f22e5c395e61 (diff) | |
Add --perf option to run script.
| -rwxr-xr-x | run/dcpomatic | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/run/dcpomatic b/run/dcpomatic index d79266d3a..255417b3f 100755 --- a/run/dcpomatic +++ b/run/dcpomatic @@ -12,7 +12,10 @@ elif [ "$1" == "--callgrind" ]; then valgrind --tool="callgrind" build/src/tools/dcpomatic $* elif [ "$1" == "--i18n" ]; then shift - LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 LC_ALL=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 |
