Ignore .DS_Store files when listing keg contents
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
14ebf705ae
commit
8e8875f8f4
@ -499,7 +499,7 @@ class PrettyListing
|
|||||||
else
|
else
|
||||||
print_dir pn
|
print_dir pn
|
||||||
end
|
end
|
||||||
elsif not FORMULA_META_FILES.include? pn.basename.to_s
|
elsif not (FORMULA_META_FILES.include? pn.basename.to_s or pn.basename.to_s == '.DS_Store')
|
||||||
puts pn
|
puts pn
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -519,7 +519,7 @@ private
|
|||||||
puts pn
|
puts pn
|
||||||
other = 'other '
|
other = 'other '
|
||||||
else
|
else
|
||||||
remaining_root_files << pn
|
remaining_root_files << pn unless pn.basename.to_s == '.DS_Store'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user