diff options
| author | Mike McQuaid | 2010-12-30 16:30:00 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2010-12-30 16:30:50 +0000 |
| commit | 4cf099ecdfd9d3c12358daa590fab0c9bb4de59a (patch) | |
| tree | baef1d1a4667651db70796cb6017fca98a19825e /Library/Contributions/examples | |
| parent | dc3623f5a61216af9d0a811cb6c5618b666e2f98 (diff) | |
| download | brew-4cf099ecdfd9d3c12358daa590fab0c9bb4de59a.tar.bz2 | |
brew-pull: only use matched string for url.
Diffstat (limited to 'Library/Contributions/examples')
| -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)) |
