diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2009-07-26 17:58:28 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-26 00:30:12 -0600 |
commit | c283a7d4327d7d18620ac97e927d88d5667781a4 (patch) | |
tree | 4041d43acc01c58236c5bd7accc9bb42021aaf3c /src/rvs.sh | |
parent | dd78d7c7724e4da4b6f44f0483f0d28792c8f13c (diff) |
much refactoring. also, screw `bzr mv'. That's why I'm writing my own system.
Diffstat (limited to 'src/rvs.sh')
-rw-r--r-- | src/rvs.sh | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/src/rvs.sh b/src/rvs.sh deleted file mode 100644 index f47659f..0000000 --- a/src/rvs.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!$$SHELL$$ -name='rvs' -ver='0.7.0' -# 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$$' -REPO=`$RVSDIR/repo` - -error() { - echo "$name: $1" >> /dev/stderr - exit 1 -} - -# START OPTION HANDLING # -com=$1; -# END OPTION HANDLING # -case "$com" in - '') error 'no command specified';; - *) - if [ -f "$RVSDIR/$com" ]; then - export RVSDIR - $RVSDIR/$@ - done='yes' - else - while read plugin; do - if [ -f "$RVSDIR/$plugin/$com" ]; then - export RVSDIR=$RVSDIR/$plugin - $RVSDIR/$@ - done='yes' - break - fi - done < $REPO/plugins - fi - if [ "$done" != 'yes' ]; then - 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 - |