Commit 22fbc3d5 authored by Fabio Pelosin's avatar Fabio Pelosin

Merge pull request #602 from croach/clean-paths-fix

Clean paths fix
parents fd03adf9 a5e7ef39
...@@ -166,8 +166,8 @@ module Pod ...@@ -166,8 +166,8 @@ module Pod
# @note The Paths are downcased to prevent issues. See #568. # @note The Paths are downcased to prevent issues. See #568.
# #
def clean_paths def clean_paths
used = used_files.map(&:downcase) used = used_files
files = Dir.glob(root + "**/*", File::FNM_DOTMATCH).map(&:downcase) files = Dir.glob(root + "**/*", File::FNM_DOTMATCH | File::FNM_CASEFOLD)
files.reject! do |candidate| files.reject! do |candidate|
candidate.end_with?('.', '..') || used.any? do |path| candidate.end_with?('.', '..') || used.any? do |path|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment