summaryrefslogtreecommitdiff
path: root/rvs/plugins/files/bin/commit.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2010-04-02 20:16:08 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:20 -0600
commit0f7db62d9229aeaf87ab13fb010be797b375ff5a (patch)
treed9aecbe23224351574574429cebe0195c0fa0dce /rvs/plugins/files/bin/commit.sh
parent864370bd3d42111ac039b81bbb166d05d60e494a (diff)
add a tree plugin to rvs, but I made a ton of other changes to get
things working and facilitate this
Diffstat (limited to 'rvs/plugins/files/bin/commit.sh')
-rw-r--r--rvs/plugins/files/bin/commit.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/rvs/plugins/files/bin/commit.sh b/rvs/plugins/files/bin/commit.sh
index e8db1eb..0bb8233 100644
--- a/rvs/plugins/files/bin/commit.sh
+++ b/rvs/plugins/files/bin/commit.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-name='rvs filecontent commit'
+name='commit'
ver=0.9
# Copyright (C) 2009-2010 Luke Shumaker
#
@@ -19,9 +19,9 @@ ver=0.9
. "$LIBDIR/@ID@/stdio"
-# commit FILE
+usage="[FILE]"
file=${1-.} # take arg1 as the file, default to the current directory
-type=`"$RVS" gettype "$file"`
+type=`"$RVS" file-gettype "$file"`
"$RVS" "commit.$type" "$file"