diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-15 00:14:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-15 00:14:28 +0100 |
| commit | bb767c7e338414beee132af3e96829c1448e214b (patch) | |
| tree | bec2858dcc7225a9bcc2acd8170c25508f6df6cb /run/fixlengths | |
| parent | 66c9be6bdb1361e5681e094a0c8170d268aa9518 (diff) | |
Move things round a bit.
Diffstat (limited to 'run/fixlengths')
| -rwxr-xr-x | run/fixlengths | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/run/fixlengths b/run/fixlengths new file mode 100755 index 000000000..1a6cc0a17 --- /dev/null +++ b/run/fixlengths @@ -0,0 +1,10 @@ +#!/bin/bash + +export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH:build/src +if [ "$1" == "--debug" ]; then + gdb --args build/src/tools/fixlengths "$@" +elif [ "$1" == "--valgrind" ]; then + valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/src/tools/fixlengths "$@" +else + build/src/tools/fixlengths "$@" +fi |
