lib/deliver/upload_screenshots.rb in deliver-1.8.1 vs lib/deliver/upload_screenshots.rb in deliver-1.9.0

- old
+ new

@@ -68,13 +68,13 @@ if language == Loader::APPLE_TV_DIR_NAME screenshots.concat(collect_screenshots_for_languages(File.join(path, language))) next end - files = Dir.glob(File.join(lng_folder, "*.#{extensions}")) + files = Dir.glob(File.join(lng_folder, "*.#{extensions}"), File::FNM_CASEFOLD) next if files.count == 0 - prefer_framed = Dir.glob(File.join(lng_folder, "*_framed.#{extensions}")).count > 0 + prefer_framed = Dir.glob(File.join(lng_folder, "*_framed.#{extensions}"), File::FNM_CASEFOLD).count > 0 language = File.basename(lng_folder) files.each do |file_path| if file_path.downcase.include?("_framed.") # That's cool