summaryrefslogtreecommitdiff
path: root/plugins/repo/commit.d.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-08-02 23:46:36 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:13 -0600
commit8a3cca551e412d3bd5cfddc6aa73c4f97edb483f (patch)
treee037e51af44a70d19a86fc70ae2853d654e1147d /plugins/repo/commit.d.sh
parentfd5bf0ecb44eaae6ab24773629bacf1797d180b6 (diff)
I can now check out from the repo!
Diffstat (limited to 'plugins/repo/commit.d.sh')
-rw-r--r--plugins/repo/commit.d.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/repo/commit.d.sh b/plugins/repo/commit.d.sh
index eabdc78..3c6709d 100644
--- a/plugins/repo/commit.d.sh
+++ b/plugins/repo/commit.d.sh
@@ -13,9 +13,10 @@ ver='0.7.0'
# commit.d DIRNAME
dir="$1"
-
tmp=`tempfile`
-for file in $dir/*; do
+
+cd "$dir"
+for file in *; do
hash=`"$RVSDIR/commit" "$file"`
echo "$file:$hash" >> "$tmp"
done