summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-09 15:14:08 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-09 15:14:08 +0100
commit92cafb6fc686a041354da2eabde6bcb2f6846e1d (patch)
treecdc26dde96d8c9ed1e9c60056a404ca3df2dcfac /run
parentfd040c2bd27fde35424a384174ecb56c643764cd (diff)
parent6e5c4e570f26e05124ab0ef67e39c07bab9cb4d5 (diff)
Merge master.
Diffstat (limited to 'run')
-rwxr-xr-xrun/dvdomatic_batch15
1 files changed, 15 insertions, 0 deletions
diff --git a/run/dvdomatic_batch b/run/dvdomatic_batch
new file mode 100755
index 000000000..7b6ef93ae
--- /dev/null
+++ b/run/dvdomatic_batch
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+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/dvdomatic_batch "$*"
+elif [ "$1" == "--valgrind" ]; then
+ shift
+ valgrind --tool="memcheck" build/src/tools/dvdomatic_batch $*
+elif [ "$1" == "--i18n" ]; then
+ shift
+ LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 build/src/tools/dvdomatic_batch "$*"
+else
+ build/src/tools/dvdomatic_batch
+fi