diff options
| author | Max Howell | 2012-09-03 11:57:09 -0400 |
|---|---|---|
| committer | Max Howell | 2012-09-03 15:12:29 -0400 |
| commit | feb77b208566eed340197dc17d27e0de5c1e16f7 (patch) | |
| tree | 341d3a253ae80c985ca0968dc6ce37f951d76ef7 /Library | |
| parent | b7f50ebf3fc519b72fb5c11e20d9880bc8d8a480 (diff) | |
| download | brew-feb77b208566eed340197dc17d27e0de5c1e16f7.tar.bz2 | |
Prevent possible bug in build's optlink
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 82e70cf8c..98924f648 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -159,7 +159,7 @@ def fixopt f f.linked_keg.readlink elsif f.prefix.directory? f.prefix - elsif (kids = f.rack.children).size == 1 + elsif (kids = f.rack.children).size == 1 and kids.first.directory? kids.first else raise |
