summaryrefslogtreecommitdiff
path: root/rvs.sh
diff options
context:
space:
mode:
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