diff options
| author | Xu Cheng | 2015-09-02 20:21:43 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-09-06 20:47:04 +0800 |
| commit | ee1dd24b1978c47c6cc7e374fdcf770f52f0ae40 (patch) | |
| tree | 3aefe6df1aed32cef080c7d53e87e731ec4c97a9 | |
| parent | 11f0979dfb11cad1e0b3aefc910235f79faffa3b (diff) | |
| download | brew-ee1dd24b1978c47c6cc7e374fdcf770f52f0ae40.tar.bz2 | |
FromUrlLoader: allow file:// scheme
| -rw-r--r-- | Library/Homebrew/formulary.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 57daf236f..89e3feb74 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -245,7 +245,7 @@ class Formulary def self.loader_for(ref) case ref - when %r{(https?|ftp)://} + when %r{(https?|ftp|file)://} return FromUrlLoader.new(ref) when Pathname::BOTTLE_EXTNAME_RX return BottleLoader.new(ref) |
