summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-14 16:50:08 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-14 16:50:08 +0100
commita066feba1b455a72fe10b7baa79f17f69cd24ba9 (patch)
treeba2ee6308f200c42870d42b7c716fddf941f8c31 /run
parent27fac0b4c6d42cb3b47bc1240d50ce11923fb66a (diff)
Various fixes to subtitling.
Diffstat (limited to 'run')
-rwxr-xr-xrun/dvdomatic6
1 files changed, 4 insertions, 2 deletions
diff --git a/run/dvdomatic b/run/dvdomatic
index eeb2c7b44..125fd9d27 100755
--- a/run/dvdomatic
+++ b/run/dvdomatic
@@ -2,9 +2,11 @@
export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH
if [ "$1" == "--debug" ]; then
- gdb --args build/src/tools/dvdomatic $2
+ shift
+ gdb --args build/src/tools/dvdomatic "$1"
elif [ "$1" == "--valgrind" ]; then
- valgrind --tool="memcheck" build/src/tools/dvdomatic $2
+ shift
+ valgrind --tool="memcheck" build/src/tools/dvdomatic "$1"
else
build/src/tools/dvdomatic "$1"
fi