summaryrefslogtreecommitdiff
path: root/pkgthing/src/pkgthing.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-11-29 00:34:00 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:19 -0600
commitd4a42ee34928970141b8299c104d47c0f3faecd0 (patch)
treedf2f64b260c78466f468d367aae67e1ba47b0cb1 /pkgthing/src/pkgthing.sh
parent3d48e43b9a2c8073663dea1f29815bfc3989c704 (diff)
add copyright notices, and start to autoconfiscate
Diffstat (limited to 'pkgthing/src/pkgthing.sh')
-rw-r--r--pkgthing/src/pkgthing.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgthing/src/pkgthing.sh b/pkgthing/src/pkgthing.sh
new file mode 100644
index 0000000..38c5ae5
--- /dev/null
+++ b/pkgthing/src/pkgthing.sh
@@ -0,0 +1,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