Skip to content
Snippets Groups Projects
Commit f4a8d288 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #1013 from MikeMcQuaid/migrate-create-top-level-after

update-report: create top-level directories later.
parents e2046797 89ebffad
No related branches found
No related tags found
No related merge requests found
......@@ -191,10 +191,6 @@ module Homebrew
return
end
Keg::ALL_TOP_LEVEL_DIRECTORIES.each do |dir|
FileUtils.mkdir_p "#{HOMEBREW_PREFIX}/#{dir}"
end
new_homebrew_repository = Pathname.new "/usr/local/Homebrew"
if new_homebrew_repository.exist?
ofail <<-EOS.undent
......@@ -254,6 +250,10 @@ module Homebrew
EOS
end
Keg::ALL_TOP_LEVEL_DIRECTORIES.each do |dir|
FileUtils.mkdir_p "#{HOMEBREW_PREFIX}/#{dir}"
end
src = Pathname.new("#{new_homebrew_repository}/bin/brew")
dst = Pathname.new("#{HOMEBREW_PREFIX}/bin/brew")
begin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment