diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2012-02-09 21:33:09 +0000 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2012-02-09 21:33:09 +0000 |
commit | 9bbc88762b4bb3d41e54abb2cdbde96e995b353c (patch) | |
tree | 1552ce3d90b7067cdbbbe95ca597f54a40e0db7a /bld/pkg-wrapper | |
parent | 3268e90f5e0a68fce5dff5eedf2ca08906c27e1b (diff) | |
download | dnsmasq-9bbc88762b4bb3d41e54abb2cdbde96e995b353c.tar.gz |
Fix shell scripting bug in bug scripts.
Diffstat (limited to 'bld/pkg-wrapper')
-rwxr-xr-x | bld/pkg-wrapper | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bld/pkg-wrapper b/bld/pkg-wrapper index c32034e..a29871e 100755 --- a/bld/pkg-wrapper +++ b/bld/pkg-wrapper @@ -3,8 +3,8 @@ search=$1 shift -if grep "^\#[[:space:]]*define[[:space:]]*$search" config.h 2>&1 >/dev/null || \ - grep $search 2>&1 >/dev/null ; then +if grep "^\#[[:space:]]*define[[:space:]]*$search" config.h >/dev/null 2>&1 || \ + grep $search >/dev/null 2>&1; then exec $* fi |