bart | 004dc0b | 2008-04-27 07:42:52 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
njn | 7bbc8d6 | 2007-02-19 04:09:24 +0000 | [diff] [blame] | 3 | # This ensures it works when invoked from any directory. |
4 | d=`dirname $0` | ||||
5 | |||||
njn | a7a16eb | 2007-02-19 04:16:09 +0000 | [diff] [blame] | 6 | # We set both VALGRIND_LIB and VALGRIND_LIB_INNER to handle normal and |
7 | # 'inner' builds. | ||||
njn | 7bbc8d6 | 2007-02-19 04:09:24 +0000 | [diff] [blame] | 8 | VALGRIND_LIB=$d/.in_place \ |
9 | VALGRIND_LIB_INNER=$d/.in_place \ | ||||
10 | $d/coregrind/valgrind "$@" | ||||
11 |