diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2009-07-16 14:12:53 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-26 00:30:11 -0600 |
commit | 3da845cfc718a09b0050723b8bb49b0b4b118d04 (patch) | |
tree | d27e63249766fffab4529b4d5fde4e0777fcb2ea /src/rvs.sh | |
parent | 6ca3d3f0cd4437922280724957dc1279e007da1f (diff) |
rename source to rvs (`bzr mv' is fail!)
restructure configure and Makefile.orig
Diffstat (limited to 'src/rvs.sh')
-rw-r--r-- | src/rvs.sh | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/rvs.sh b/src/rvs.sh new file mode 100644 index 0000000..518f487 --- /dev/null +++ b/src/rvs.sh @@ -0,0 +1,52 @@ +#!$$SHELL$$ +# abomination module:rvs +name='rvs' +ver='0.5.10' +usage='COMMAND [OPTIONS]' +# Copyright (C) 2009 Luke Shumaker +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>. + +RVSDIR='$$libdir$$' +source "$RVSDIR/lib/stdio" +#source "$RVSDIR/lib/rvsdb" + +# START OPTION HANDLING # +com=$1; +# END OPTION HANDLING # +case "$com" in + -d) echo "$RVSDIR";; + '') error 'no command specified';; + *) + if [ -f "$RVSDIR/$com" ]; then + export TMPDIR="$repo/tmp" + $RVSDIR/$@ + else + error "unrecognized command \`$com'" + fi + :;; +esac + +#args=`getopt -n "$name" -o "${sopt}" -l "${lopt}" -- "$@"` +#if [ $? == 0 ]; then +# set -- $args +# while [ $# -gt 0 ]; do +# case "$1" in +# -V | --version) mode='version';; +# -h | -H | -\? | --help) mode='help';; +# +# -v | --verbose) volume='-v';; +# -q | --quiet) volume='-q';; +# +# --) shift; break;; +# esac +# shift; +# done +#else +# error +#fi + |