summaryrefslogtreecommitdiff
path: root/wrapper/rvs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper/rvs.sh')
-rw-r--r--wrapper/rvs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrapper/rvs.sh b/wrapper/rvs.sh
index d7fc753..4d87170 100644
--- a/wrapper/rvs.sh
+++ b/wrapper/rvs.sh
@@ -50,7 +50,7 @@ _init() {
if [ -z "$repo" ]; then
repo=".$name"
install -d "$repo"
- install -T $libexecdir/plugins $repo/plugins
+ install -m644 -T $libexecdir/plugins $repo/plugins
while read plugin; do
echo "initializing plugin \`$plugin'"
install -d "$repo/$plugin"
@@ -97,7 +97,7 @@ case "$com" in
*) repo=`_repo`
if [ "$?" = '0' ]; then
shift
- $libexecdir/runcom $@
+ "$libexecdir/runcom" $@ < $repo/plugins
exit $?
else
_error "cannot find an existing repository"