From 8a3cca551e412d3bd5cfddc6aa73c4f97edb483f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 2 Aug 2009 23:46:36 -0400 Subject: I can now check out from the repo! --- plugins/repo/commit.d.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/repo/commit.d.sh') 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 -- cgit v1.2.3-2-g168b