summaryrefslogtreecommitdiff
path: root/pkgthing/src/pkgthing.sh
blob: 38c5ae5480bd2a4fc022960b1190a6307d86d03d (plain)
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