Commit b81d16f1 authored by Fabio Pelosin's avatar Fabio Pelosin

[PathList] Don't modify input patterns

parent 0adcf264
GIT
remote: git://github.com/CocoaPods/Core.git
revision: ac1b97b199964ae2b35f48a19b866415642b599a
revision: 294d7b2d911aad3e0ab70272115f2c3ee5307cda
specs:
cocoapods-core (0.17.0.alpha)
activesupport (~> 3.2.6)
......
......@@ -125,7 +125,7 @@ module Pod
# @param [String] pattern A {Dir#glob} like pattern.
#
def dir_glob_equivalent_patterns(pattern)
pattern.gsub!('/**/', '{/**/,/}')
pattern.gsub('/**/', '{/**/,/}')
values_by_set = {}
pattern.scan(/\{[^}]*\}/) do |set|
values = set.gsub(/[{}]/, '').split(',')
......
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