diff options
Diffstat (limited to 'run')
| -rwxr-xr-x | run/tools/dcpdecryptmxf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/run/tools/dcpdecryptmxf b/run/tools/dcpdecryptmxf new file mode 100755 index 00000000..9caf5460 --- /dev/null +++ b/run/tools/dcpdecryptmxf @@ -0,0 +1,12 @@ +#!/bin/bash + +export LD_LIBRARY_PATH=build/src:build/asdcplib/src:$LD_LIBRARY_PATH +if [ "$1" == "--debug" ]; then + shift + gdb --args build/tools/dcpdecryptmxf "$@" +elif [ "$1" == "--valgrind" ]; then + shift + valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/tools/dcpdecryptmxf "$@" +else + build/tools/dcpdecryptmxf "$@" +fi |
