summaryrefslogtreecommitdiff
path: root/plugins/repo/commit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/repo/commit.sh')
-rw-r--r--plugins/repo/commit.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/repo/commit.sh b/plugins/repo/commit.sh
index d85dd01..f76324e 100644
--- a/plugins/repo/commit.sh
+++ b/plugins/repo/commit.sh
@@ -1,6 +1,6 @@
#!@SHELL@
name='rvs repo commit'
-ver='0.7.2'
+ver='0.7.3'
# 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
@@ -14,8 +14,6 @@ source "$libexecdir/lib/stdio"
# commit FILE
file=${1-.}
-warn "$file"
-
if [ ! -e $file ]; then error "file \`$file' does not exist";
# START file type list
elif [ -L $file ]; then type='l'; # symbolic link
@@ -30,7 +28,8 @@ elif [ -s $file ]; then type='s'; # socket
else error "could not identify file type of \`$file'"
fi
-ret=`"$libexecdir/commit.$type" "$file"`
+out "+$type `pwd`/$file"
+ret=`"$RVS" commit.$type "$file"`
tmp=`tempfile`
cat << __EOF__ > "$tmp"
@@ -42,6 +41,6 @@ owner:$owner
license:$license
__EOF__
-"$libexecdir/commit.f" "$tmp"
+"$RVS" commit.f "$tmp"
rm "$tmp"