aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-18 19:32:29 +0100
committerMike McQuaid2016-09-18 19:32:29 +0100
commitfc04d8f4f651e5f4c7e6cacf48a556e38bacbe80 (patch)
treede32b41b07ce906c032859c1a536ffd1a664a568 /Library
parentf4a8d28819f1fee73fcc63d08e70cb36eecdfb20 (diff)
downloadbrew-fc04d8f4f651e5f4c7e6cacf48a556e38bacbe80.tar.bz2
update-report: also create Cellar on migration.
Just on the off chance it doesn't exist (i.e. no-one has installed anything yet or you're a `test-bot` that's run `git clean -xdf` recently)
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update-report.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb
index 9545110b0..436eb487d 100644
--- a/Library/Homebrew/cmd/update-report.rb
+++ b/Library/Homebrew/cmd/update-report.rb
@@ -250,7 +250,7 @@ module Homebrew
EOS
end
- Keg::ALL_TOP_LEVEL_DIRECTORIES.each do |dir|
+ (Keg::ALL_TOP_LEVEL_DIRECTORIES + ["Cellar"]).each do |dir|
FileUtils.mkdir_p "#{HOMEBREW_PREFIX}/#{dir}"
end