summaryrefslogtreecommitdiff
path: root/clean-cache
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-09-20 19:54:10 +0200
committerErich Eckner <git@eckner.net>2021-09-20 19:54:10 +0200
commit907b3a02e0575cf8a3fad767fe0ca0ac8d5e7dc5 (patch)
tree8c50a4296dee29281d74939504260df9a873a68b /clean-cache
parent3df7b936ec59f042c4dbc1b7fdebb8fd7d83dc99 (diff)
downloadarch-mirror-907b3a02e0575cf8a3fad767fe0ca0ac8d5e7dc5.tar.xz
clean-cache: remove file with directory
Diffstat (limited to 'clean-cache')
-rwxr-xr-xclean-cache2
1 files changed, 1 insertions, 1 deletions
diff --git a/clean-cache b/clean-cache
index d580d4c..412da37 100755
--- a/clean-cache
+++ b/clean-cache
@@ -34,6 +34,6 @@ find "${mirror_dir}" -type f -printf '%h\n' \
| sha256sum -c --quiet; then
continue
fi
- rm "${file}"
+ rm "${repo_dir}/${file}"
done
done