diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 911fe488f..ee3682377 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -195,7 +195,7 @@ module HomebrewInreplaceExtension end def inreplace path, before=nil, after=nil - path.each do |path| + [*path].each do |path| f = File.open(path, 'r') s = f.read |
