summaryrefslogtreecommitdiff
path: root/bld/pkg-wrapper
blob: 4f3b76be28e103f16f69a9c6312ca183632deace (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

search=$1
shift

if grep "^\#.*define.*$search" config.h 2>&1 >/dev/null || \
   grep $search 2>&1 >/dev/null ; then
  exec $*
fi