brew-pull: only use matched string for url.
This commit is contained in:
parent
dc3623f5a6
commit
4cf099ecdf
@ -23,7 +23,7 @@ HOMEBREW_REPOSITORY.cd do
|
|||||||
end
|
end
|
||||||
|
|
||||||
# GitHub provides commits'/pull-requests' raw patches using this URL.
|
# 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.
|
# The cache directory seems like a good place to put patches.
|
||||||
patchpath = (HOMEBREW_CACHE+File.basename(url))
|
patchpath = (HOMEBREW_CACHE+File.basename(url))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user