aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss6
1 files changed, 3 insertions, 3 deletions
diff --git a/kiss b/kiss
index cf56c1a..f4e3ec1 100755
--- a/kiss
+++ b/kiss
@@ -1299,14 +1299,14 @@ args() {
for pkg do pkg_sources "$pkg" c; done
for pkg do
pkg_checksums "$pkg" | {
- repo_dir=$(pkg_find "$pkg")/checksums
+ repo_dir=$(pkg_find "$pkg")
if [ -w "$repo_dir" ]; then
- tee "$repo_dir"
+ tee "$repo_dir/checksums"
else
log "$pkg" "Need permissions to generate checksums"
- user=$(stat -c %U "$repo_dir") as_root tee "$repo_dir"
+ user=$(stat -c %U "$repo_dir") as_root tee "$repo_dir/checksums"
fi
}