summaryrefslogtreecommitdiff
path: root/run/servomatic
blob: 100d0a8bdd8c3fcc69de053650a9df506a4935c8 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH
if [ "$1" == "--debug" ]; then
    gdb --args build/src/tools/servomatic
elif [ "$1" == "--valgrind" ]; then
    valgrind --tool="memcheck" build/src/tools/servomatic
else
    build/src/tools/servomatic
fi