aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/doctor.rb
diff options
context:
space:
mode:
authorxxxajk2014-08-14 02:04:34 -0400
committerMike McQuaid2014-08-14 10:36:07 +0100
commit9e03cdc4555af23a5224970fbdb18d1f97257872 (patch)
treeb1898d3de677600a9f621b4e52862e46cbd177a6 /Library/Homebrew/cmd/doctor.rb
parent98a4857b3a5efb8ad4b06142d6a7d762dcb4512b (diff)
downloadhomebrew-9e03cdc4555af23a5224970fbdb18d1f97257872.tar.bz2
Fix mktmp to be generic as-per SUS/BSD.
Closes #31586. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd/doctor.rb')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 746825ddd..dcdc34a42 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -700,7 +700,7 @@ def check_for_multiple_volumes
# Find the volumes for the TMP folder & HOMEBREW_CELLAR
real_cellar = HOMEBREW_CELLAR.realpath
- tmp = Pathname.new with_system_path { `mktemp -d #{HOMEBREW_TEMP}/homebrew-brew-doctor-XXXX` }.strip
+ tmp = Pathname.new with_system_path { `mktemp -d #{HOMEBREW_TEMP}/homebrew-brew-doctor-XXXXXX` }.strip
real_temp = tmp.realpath.parent
where_cellar = volumes.which real_cellar