This commit is contained in:
Tim Visher
2022-04-28 10:40:16 -04:00
parent fbb3ccbfd6
commit 48db5eff25
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -31,7 +31,9 @@ class Cleaner
# Get rid of any info 'dir' files, so they don't conflict at the link stage
Dir.glob(@f.info/"**/dir").each do |f|
info_dir_file = Pathname(f)
observe_file_removal info_dir_file if info_dir_file.file? && info_dir_file != Pathname("#{@f.info}/#{@f.name}/dir") && !@f.skip_clean?(info_dir_file)
next if info_dir_file == Pathname("#{@f.info}/#{@f.name}/dir")
observe_file_removal info_dir_file if info_dir_file.file? && !@f.skip_clean?(info_dir_file)
end
rewrite_shebangs
+1 -1
View File
@@ -144,7 +144,7 @@ describe Cleaner do
f.info.mkpath
(f.info/"i686-elf").mkpath
(f.info/"#{f.name}").mkpath
(f.info/ + f.name.to_s).mkpath
touch file
touch arch_file