summaryrefslogtreecommitdiff
path: root/plugins/repo/commit.f.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/repo/commit.f.sh')
-rw-r--r--plugins/repo/commit.f.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/repo/commit.f.sh b/plugins/repo/commit.f.sh
index 8a27e95..851c023 100644
--- a/plugins/repo/commit.f.sh
+++ b/plugins/repo/commit.f.sh
@@ -1,6 +1,6 @@
#!@SHELL@
name='rvs repo commit.f'
-ver='0.7.3'
+ver=0.8r61
# Copyright (C) 2009 Luke Shumaker
#
# This file is part of rvs.
@@ -19,15 +19,15 @@ ver='0.7.3'
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#source "$libexecdir/lib/stdio"
+#source "$libexecdir/@ID@/stdio"
# commit.f FILENAME
file="$1"
#hash=`md5sum $file | sed "s/ .*$//"`
hash=`sha1sum $file | sed "s/ .*$//"`
-if [ ! -f "$REPO/$hash" ]; then
- install -m 644 -o $USER -g $USER -T "$file" "$REPO/$hash"
+if [ ! -f "$REPO/@ID@/$hash" ]; then
+ install -m 644 -o $USER -g $USER -T "$file" "$REPO/@ID@/$hash"
fi
echo "$hash"