summaryrefslogtreecommitdiff
path: root/rvs.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-08-03 19:03:08 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:13 -0600
commitfc8d2f56a8104e755766fbbca4729906000cf78d (patch)
treeb902e17f5e59e960772d215ee613a73c8a87226b /rvs.sh
parentaa5141e77203fd084d809f27d55192a988723803 (diff)
0.7.2 -- refactor slightly, flesh out plugin: users
Diffstat (limited to 'rvs.sh')
-rw-r--r--rvs.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/rvs.sh b/rvs.sh
index b2a3f93..c124116 100644
--- a/rvs.sh
+++ b/rvs.sh
@@ -1,6 +1,6 @@
#!@SHELL@
name='@name@'
-ver='0.7.0'
+ver='0.7.2'
# 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
@@ -9,7 +9,8 @@ ver='0.7.0'
#
# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
-RVSDIR="@libexecdir@/$name"
+RVS="$0" #RVS="@rvs@"
+libexecdir="@libexecdir@/$name"
_error() {
echo "$name: $1" >> /dev/stderr
@@ -88,8 +89,9 @@ case "$com" in
while read plugin; do
if [ -f "$RVSDIR/$plugin/$com" ]; then
done='yes'
- export RVSDIR=$RVSDIR/$plugin
+ export libexecdir=$libexecdir/$plugin
export REPO=$repo/$plugin
+ export RVS
$RVSDIR/$@
exit $?
break