diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2009-08-03 19:03:08 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-26 00:30:13 -0600 |
commit | fc8d2f56a8104e755766fbbca4729906000cf78d (patch) | |
tree | b902e17f5e59e960772d215ee613a73c8a87226b /rvs.sh | |
parent | aa5141e77203fd084d809f27d55192a988723803 (diff) |
0.7.2 -- refactor slightly, flesh out plugin: users
Diffstat (limited to 'rvs.sh')
-rw-r--r-- | rvs.sh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |