diff --git a/common/xbps-src/shutils/purge_distfiles.sh b/common/xbps-src/shutils/purge_distfiles.sh index 1cfaf5bdc0..558f34ca79 100644 --- a/common/xbps-src/shutils/purge_distfiles.sh +++ b/common/xbps-src/shutils/purge_distfiles.sh @@ -79,7 +79,7 @@ purge_distfiles() { [ -n "${my_hashes[$hash]}" ] && continue inode=$(stat "$file" --printf "%i") echo "Obsolete $hash (inode: $inode)" - ( IFS="|"; for f in ${inodes[$inode]}; do rm -v "$f"; rmdir "${f%/*}" 2>/dev/null; done ) + ( IFS="|"; for f in ${inodes[$inode]}; do rm -vf "$f"; rmdir "${f%/*}" 2>/dev/null; done ) done echo "Done." }