diff options
| author | Joshua Peek | 2009-09-11 11:10:20 -0500 |
|---|---|---|
| committer | Max Howell | 2009-09-14 20:33:47 +0100 |
| commit | acd913593a8a234bcc7d6c4e24c66f7bd62731d7 (patch) | |
| tree | 242b15675ad213fb20b009bb11b259865bccbdcd /Library | |
| parent | f150e5ece29d3e5c9bedfe557446a62380cd4f21 (diff) | |
| download | brew-acd913593a8a234bcc7d6c4e24c66f7bd62731d7.tar.bz2 | |
Clear CDPATH to avoid make issues that depend on changing directories
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/brewkit.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/brewkit.rb b/Library/Homebrew/brewkit.rb index f41a16f41..41422ed9e 100644 --- a/Library/Homebrew/brewkit.rb +++ b/Library/Homebrew/brewkit.rb @@ -179,6 +179,8 @@ paths=ENV['PATH'].split(':').reject do |p| end ENV['PATH']=paths*':' +# Clear CDPATH to avoid make issues that depend on changing directories +ENV.delete('CDPATH') def inreplace(path, before, after) before=Regexp.escape before.to_s |
