lint
This commit is contained in:
parent
fbb3ccbfd6
commit
48db5eff25
@ -31,7 +31,9 @@ class Cleaner
|
|||||||
# Get rid of any info 'dir' files, so they don't conflict at the link stage
|
# Get rid of any info 'dir' files, so they don't conflict at the link stage
|
||||||
Dir.glob(@f.info/"**/dir").each do |f|
|
Dir.glob(@f.info/"**/dir").each do |f|
|
||||||
info_dir_file = Pathname(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
|
end
|
||||||
|
|
||||||
rewrite_shebangs
|
rewrite_shebangs
|
||||||
|
|||||||
@ -144,7 +144,7 @@ describe Cleaner do
|
|||||||
|
|
||||||
f.info.mkpath
|
f.info.mkpath
|
||||||
(f.info/"i686-elf").mkpath
|
(f.info/"i686-elf").mkpath
|
||||||
(f.info/"#{f.name}").mkpath
|
(f.info/ + f.name.to_s).mkpath
|
||||||
|
|
||||||
touch file
|
touch file
|
||||||
touch arch_file
|
touch arch_file
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user