diff options
-rw-r--r-- | rvs.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -83,18 +83,17 @@ case "$com" in 'install') shift; _install $@; exit $?;; 'uninstall') shift; _uninstall $@; exit $?;; *) repo=`_repo` - if exit $?; then + if [ "$?" = '0' ]; then while read plugin; do if [ -f "$RVSDIR/$plugin/$com" ]; then done='yes' export RVSDIR=$RVSDIR/$plugin export REPO=$repo/$plugin - echo $RVSDIR/$@ $RVSDIR/$@ exit $? break fi - done < $repi/plugins + done < "$repo/plugins" else exit 1; fi |