diff options
| author | Mike McQuaid | 2015-11-11 14:28:35 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-11-11 14:35:34 +0000 |
| commit | a814f119c040728390c0bf0261fd8b257fae71f3 (patch) | |
| tree | bac9f84a1d23a73fed4f2885fe9eb9ccfc3adc4d /Library | |
| parent | 0d74967ceb15fe954ca722c11de91326d072fa05 (diff) | |
| download | brew-a814f119c040728390c0bf0261fd8b257fae71f3.tar.bz2 | |
cc: disable RUBYOPT variable.
If this was set at build-time (i.e. by the Ruby 1.8.7 buildsystem) then
`cc` could be passed arguments and fail to run.
Closes Homebrew/homebrew#45890.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 91707eea9..dc7fecd00 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -1,4 +1,4 @@ -#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0 +#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0 --disable-rubyopt $:.unshift Dir["/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib/ruby/{1.8,2.0.0}"].first require "pathname" |
