diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-08 10:32:59 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:42 -0400 |
commit | 0477dd119a3f06c81e7d71123e42441872182440 (patch) | |
tree | e26183108abd34b8b11a3a1aa5ca3e406b75aeed | |
parent | f246add2630ad329d3e078709888be57b4f3fa33 (diff) | |
download | fork-ledger-0477dd119a3f06c81e7d71123e42441872182440.tar.gz fork-ledger-0477dd119a3f06c81e7d71123e42441872182440.tar.bz2 fork-ledger-0477dd119a3f06c81e7d71123e42441872182440.zip |
Merge branch 'master' of /Users/johnw/src/ledger/master/
-rwxr-xr-x | valgrind.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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 |