summaryrefslogtreecommitdiff
path: root/src/rvs-core/commit.d.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/rvs-core/commit.d.sh')
-rw-r--r--src/rvs-core/commit.d.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rvs-core/commit.d.sh b/src/rvs-core/commit.d.sh
index 5a47614..dcad82f 100644
--- a/src/rvs-core/commit.d.sh
+++ b/src/rvs-core/commit.d.sh
@@ -19,8 +19,8 @@ dir="$1"
tmp=`tempfile`
loginit "$tmp"
-for file in $dir; do
- hash=`commit "$dir/$file"`
+for file in $dir/*; do
+ hash=`rvs commit "$dir/$file"`
echo "$file:$hash" >> "$tmp"
done