From 0c5590dd0e3f367064a6e4d52835a609adf11a06 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 4 May 2013 18:47:33 +0100 Subject: Batch converter stub. --- run/dvdomatic_batch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 run/dvdomatic_batch (limited to 'run/dvdomatic_batch') 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 -- cgit v1.2.3