summaryrefslogtreecommitdiff
path: root/src/rvs.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-07-20 18:17:23 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:12 -0600
commit4315b8593150cbd1f90669ffc4e5a10d77b7abfd (patch)
tree60bdd0d7a3996d16d85252831840d2797f8f7bef /src/rvs.sh
parent363bfb698b6cfe22d34ae4e974760b4066a5deb9 (diff)
0.6.3 -- begin reworking $$libdir$$/lib
Diffstat (limited to 'src/rvs.sh')
-rw-r--r--src/rvs.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/rvs.sh b/src/rvs.sh
index 5059dca..4cd8eb5 100644
--- a/src/rvs.sh
+++ b/src/rvs.sh
@@ -1,7 +1,7 @@
#!$$SHELL$$
# abomination module:rvs
name='rvs'
-ver='0.5.10'
+ver='0.6.3'
usage='COMMAND [OPTIONS]'
# Copyright (C) 2009 Luke Shumaker
# This program is distributed in the hope that it will be useful,
@@ -11,21 +11,20 @@ usage='COMMAND [OPTIONS]'
#
# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
-RVSDIR='$$libdir$$'
+export RVSDIR='$$libdir$$'
source "$RVSDIR/lib/stdio"
#source "$RVSDIR/lib/rvsdb"
# START OPTION HANDLING #
com=$1;
-# END OPTION HANDLING #
+# END OPTION HANDLING #
case "$com" in
+ # -d is left for back-compat, should be removed by the end of 0.6.3
-d) echo "$RVSDIR";;
'') error 'no command specified';;
*)
if [ -f "$RVSDIR/$com" ]; then
- export TMPDIR="$repo/tmp"
- #echo "$@" >> $repo/log
- $RVSDIR/$@
+ $SHELL $RVSDIR/$@
else
error "unrecognized command \`$com'"
fi