diff options
Diffstat (limited to 'plugins/files/commit.d.sh')
-rw-r--r-- | plugins/files/commit.d.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/files/commit.d.sh b/plugins/files/commit.d.sh index 2b3f022..f5b432b 100644 --- a/plugins/files/commit.d.sh +++ b/plugins/files/commit.d.sh @@ -20,7 +20,8 @@ ver=0.9 source "$libexecdir/@ID@/stdio" # commit.d DIRNAME -dir="$1" +out="$1" +dir="$2" tmp=`mktemp` cd "$dir" @@ -29,6 +30,6 @@ for file in *; do echo "$file:$hash" >> "$tmp" done -"$RVS" commit.f "$tmp" +"$RVS" commit.f "$out" "$tmp" rm "$tmp" |