summaryrefslogtreecommitdiff
path: root/run/dvdomatic
diff options
context:
space:
mode:
Diffstat (limited to 'run/dvdomatic')
-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