1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh name='pkgthing' ver=@ver@ export libexecdir=@libexecdir@ srcdir=/usr/src case "$1" in find) shift; bash $datadir/find $@;; search) shift; bash $datadir/search $@;; -v|-V|--version) make -C "$srcdir" version;; -h|-H|--help) make -C "$srcdir" help;; *) make -C "$srcdir" $1;; esac