From 702c5c82eafa15f2a1d6587232bec3c819cc6354 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Nov 26 2016 22:10:24 +0000 Subject: Really fix file deletion It still wasn't working, because we didn't add $DESTD to the path to be deleted; we were just trying to delete a relative path under TMPDIR, which wasn't ever going to exist. Note how this follows what we do for master-deletedirs, which works. --- diff --git a/quick-fedora-mirror b/quick-fedora-mirror index 0bb81bf..bf2d838 100755 --- a/quick-fedora-mirror +++ b/quick-fedora-mirror @@ -737,7 +737,7 @@ if [[ -s master-deletefiles ]]; then # | (pushd $DESTD; xargs $xopts -0 rm -f ; popd) for nuke in $(cat master-deletefiles); do logit D Deleting file $nuke - rm -f $nuke + rm -f "$DESTD/$nuke" done deletedsomething=1 logit d File deletion end