tap: change core formula tap naming.
This commit is contained in:
parent
f459245e6d
commit
2afa1c3b86
@ -68,7 +68,7 @@ module Homebrew extend self
|
|||||||
else
|
else
|
||||||
to = to.realpath if to.exist?
|
to = to.realpath if to.exist?
|
||||||
# Whitelist gcc42 temporarily until Mavericks/Xcode 5.0 issues are resolved.
|
# Whitelist gcc42 temporarily until Mavericks/Xcode 5.0 issues are resolved.
|
||||||
unless to.tap_ref == 'mxcl/master/apple-gcc42'
|
unless to.tap_ref == 'Homebrew/homebrew/apple-gcc42'
|
||||||
opoo "Could not tap #{Tty.white}#{from.tap_ref}#{Tty.reset} over #{Tty.white}#{to.tap_ref}#{Tty.reset}"
|
opoo "Could not tap #{Tty.white}#{from.tap_ref}#{Tty.reset} over #{Tty.white}#{to.tap_ref}#{Tty.reset}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -121,7 +121,7 @@ class Pathname
|
|||||||
when %r{^#{HOMEBREW_LIBRARY}/Taps/([a-z\-_]+)-(\w+)/(.+)}
|
when %r{^#{HOMEBREW_LIBRARY}/Taps/([a-z\-_]+)-(\w+)/(.+)}
|
||||||
"#$1/#$2/#{File.basename($3, '.rb')}"
|
"#$1/#$2/#{File.basename($3, '.rb')}"
|
||||||
when %r{^#{HOMEBREW_LIBRARY}/Formula/(.+)}
|
when %r{^#{HOMEBREW_LIBRARY}/Formula/(.+)}
|
||||||
"mxcl/master/#{File.basename($1, '.rb')}"
|
"Homebrew/homebrew/#{File.basename($1, '.rb')}"
|
||||||
else
|
else
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|||||||
@ -451,7 +451,7 @@ class Formula
|
|||||||
if path.realpath.to_s =~ HOMEBREW_TAP_DIR_REGEX
|
if path.realpath.to_s =~ HOMEBREW_TAP_DIR_REGEX
|
||||||
"#$1/#$2"
|
"#$1/#$2"
|
||||||
elsif core_formula?
|
elsif core_formula?
|
||||||
"mxcl/master"
|
"Homebrew/homebrew"
|
||||||
else
|
else
|
||||||
"path or URL"
|
"path or URL"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user