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