Simon Kelley | 3d8df26 | 2005-08-29 12:19:27 +0100 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
Simon Kelley | 1f15b81 | 2009-10-13 17:49:32 +0100 | [diff] [blame] | 3 | search=$1 |
4 | shift | ||||
5 | |||||
Simon Kelley | c72daea | 2012-01-05 21:33:27 +0000 | [diff] [blame] | 6 | if grep "^\#[[:space:]]*define[[:space:]]*$search" config.h 2>&1 >/dev/null || \ |
Simon Kelley | 1f15b81 | 2009-10-13 17:49:32 +0100 | [diff] [blame] | 7 | grep $search 2>&1 >/dev/null ; then |
Simon Kelley | 3d8df26 | 2005-08-29 12:19:27 +0100 | [diff] [blame] | 8 | exec $* |
9 | fi | ||||
10 | |||||
11 |