summaryrefslogtreecommitdiff
path: root/run/playomatic
diff options
context:
space:
mode:
Diffstat (limited to 'run/playomatic')
-rwxr-xr-xrun/playomatic10
1 files changed, 10 insertions, 0 deletions
diff --git a/run/playomatic b/run/playomatic
new file mode 100755
index 000000000..9fe191a51
--- /dev/null
+++ b/run/playomatic
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+export LD_LIBRARY_PATH=build/src/lib:build/src/gtk:$LD_LIBRARY_PATH
+if [ "$1" == "--debug" ]; then
+ gdb --args build/src/tools/playomatic $2
+elif [ "$1" == "--valgrind" ]; then
+ valgrind --tool="memcheck" build/src/tools/playomatic $2
+else
+ build/src/tools/playomatic "$1"
+fi