diff options
| author | Mike McQuaid | 2010-12-30 16:30:00 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2010-12-30 16:30:50 +0000 |
| commit | fff7e1ca18ac36c0b746496ffae6a173a62c7933 (patch) | |
| tree | c4f14f18d0af69f828d8b6cdd80c1958208682c6 /Library | |
| parent | b7fab6cb4038a324e3bad530a56e436b2f50d40c (diff) | |
| download | homebrew-fff7e1ca18ac36c0b746496ffae6a173a62c7933.tar.bz2 | |
brew-pull: only use matched string for url.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-pull.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/examples/brew-pull.rb b/Library/Contributions/examples/brew-pull.rb index 41d8a671f..70b37b936 100755 --- a/Library/Contributions/examples/brew-pull.rb +++ b/Library/Contributions/examples/brew-pull.rb @@ -23,7 +23,7 @@ HOMEBREW_REPOSITORY.cd do end # GitHub provides commits'/pull-requests' raw patches using this URL. - url = arg + '.patch' + url = urlmatch[0] + '.patch' # The cache directory seems like a good place to put patches. patchpath = (HOMEBREW_CACHE+File.basename(url)) |
