diff options
| author | Mike McQuaid | 2016-10-30 16:14:51 -0400 | 
|---|---|---|
| committer | Mike McQuaid | 2016-10-30 16:14:51 -0400 | 
| commit | 3396d479d2cc87fed0f9a74f711881ea1784e0d6 (patch) | |
| tree | d0f930992671488482207dd77f22ae7841c2fa8e /Library/Homebrew/build.rb | |
| parent | 0c140f0970c4d4de81e8233913daa7fc768defad (diff) | |
| download | brew-3396d479d2cc87fed0f9a74f711881ea1784e0d6.tar.bz2 | |
build: write options to file.
These can be useful for later inspection or upload by `gist-logs` if
there's a failed install and it's unclear from logs alone what options
were used.
Diffstat (limited to 'Library/Homebrew/build.rb')
| -rw-r--r-- | Library/Homebrew/build.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index d3c2833d4..c4e903642 100644 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -132,6 +132,8 @@ class Build        else          formula.prefix.mkpath +        (formula.logs/"00.options.out").write \ +          "#{formula.full_name} #{formula.build.used_options.sort.join(" ")}".strip          formula.install          stdlibs = detect_stdlibs(ENV.compiler) | 
