From a217b03952fca6df22ecc62523d9c85883aef856 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 11 Sep 2012 20:59:59 -0400 Subject: Clean up and improve build-error output and logs All logs are now stored from each command executed in Formula.install. Error output is truncated to five lines in an attempt to not overwhelm the user and to encourage users to read the error output and report the bug properly. Maybe we can get that figure up from 70% to 90%. --- Library/Homebrew/extend/fileutils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/extend') diff --git a/Library/Homebrew/extend/fileutils.rb b/Library/Homebrew/extend/fileutils.rb index 6a6d8585a..5531f6e6e 100644 --- a/Library/Homebrew/extend/fileutils.rb +++ b/Library/Homebrew/extend/fileutils.rb @@ -14,7 +14,7 @@ module FileUtils extend self # /tmp volume to the other volume. So we let the user override the tmp # prefix if they need to. tmp = ENV['HOMEBREW_TEMP'].chuzzle || '/tmp' - tempd = `/usr/bin/mktemp -d #{tmp}/brew-#{name}-#{version}-XXXX`.chuzzle + tempd = `/usr/bin/mktemp -d #{tmp}/#{name}-XXXX`.chuzzle raise "Failed to create sandbox" if tempd.nil? prevd = pwd cd tempd -- cgit v1.2.3