]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
xapcmd: rely on File::Temp cleanup for temporary dir
authorEric Wong <e@80x24.org>
Thu, 8 Jun 2023 18:04:54 +0000 (18:04 +0000)
committerEric Wong <e@80x24.org>
Fri, 9 Jun 2023 09:21:28 +0000 (09:21 +0000)
commitbc1162cf86828190805033ac74e45dd8eea73c33
tree75ae507b4053700a5507741e76735775a3dd265a
parent82bc926ebe1ceba78dffd330c6bac92732bb41e0
xapcmd: rely on File::Temp cleanup for temporary dir

remove_tree from File::Path 2.09 (from Perl 5.16.3 on CentOS 7.x)
doesn't seem to work properly on File::Temp objects.   Since
File::Temp->newdir sets CLEANUP=>1 by default anyways, we'll
just rely on that to perform cleanup instead of doing it ourselves.
lib/PublicInbox/Xapcmd.pm