diff options
| author | Jack Nagel | 2015-06-12 20:14:04 -0400 |
|---|---|---|
| committer | Jack Nagel | 2015-06-12 20:14:07 -0400 |
| commit | aad4ed7faad0abd7b2240b8a47a6ce3956bed19c (patch) | |
| tree | 375aaf62b0bcec22fd382f172d756aafdfc01394 /Library | |
| parent | c1fb7a8e4ab896c73b95351b215b123c50e407f6 (diff) | |
| download | brew-aad4ed7faad0abd7b2240b8a47a6ce3956bed19c.tar.bz2 | |
Undocument return value of ENV.deparallelize
It's not clear whether it returns MAKEFLAGS with or without -j<n>, and
neither is particularly useful behavior, given you can easily get the
exact value by calling ENV["MAKEFLAGS"]. So let's not commit to this
API.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/ENV/std.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/extend/ENV/super.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb index 8992f8f84..bc165c667 100644 --- a/Library/Homebrew/extend/ENV/std.rb +++ b/Library/Homebrew/extend/ENV/std.rb @@ -81,7 +81,6 @@ module Stdenv # Removes the MAKEFLAGS environment variable, causing make to use a single job. # This is useful for makefiles with race conditions. # When passed a block, MAKEFLAGS is removed only for the duration of the block and is restored after its completion. - # Returns the value of MAKEFLAGS. def deparallelize old = self['MAKEFLAGS'] remove 'MAKEFLAGS', /-j\d+/ diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index e21fc554e..87ecc5de0 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -245,7 +245,6 @@ module Superenv # Removes the MAKEFLAGS environment variable, causing make to use a single job. # This is useful for makefiles with race conditions. # When passed a block, MAKEFLAGS is removed only for the duration of the block and is restored after its completion. - # Returns the value of MAKEFLAGS. def deparallelize old = delete('MAKEFLAGS') if block_given? |
