cleaner: remove *.tbd
For https://github.com/Homebrew/brew/pull/16355#issuecomment-1860642797 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
parent
2aa78c9bd0
commit
009318dcaf
@ -5,6 +5,7 @@
|
||||
# By default:
|
||||
#
|
||||
# * removes `.la` files
|
||||
# * removes `.tbd` files
|
||||
# * removes `perllocal.pod` files
|
||||
# * removes `.packlist` files
|
||||
# * removes empty directories
|
||||
@ -125,7 +126,7 @@ class Cleaner
|
||||
|
||||
next if path.directory?
|
||||
|
||||
if path.extname == ".la" || PERL_BASENAMES.include?(path.basename.to_s)
|
||||
if path.extname == ".la" || path.extname == ".tbd" || PERL_BASENAMES.include?(path.basename.to_s)
|
||||
path.unlink
|
||||
elsif path.symlink?
|
||||
# Skip it.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user