From b45037e334ca336498217d4f54756c319c074d7b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 12 Apr 2008 01:40:49 -0400 Subject: Migrated over both code and build environment from was-v3.0 branch. --- valgrind.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 valgrind.sh (limited to 'valgrind.sh') diff --git a/valgrind.sh b/valgrind.sh new file mode 100755 index 00000000..fe292f44 --- /dev/null +++ b/valgrind.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +VALGRIND=$(which valgrind 2>&1) + +if [ -x "$VALGRIND" ]; then + exec "$VALGRIND" --leak-check=full --show-reachable=yes "$@" +else + exec "$@" +fi -- cgit v1.2.3