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>
This commit is contained in:
parent
0d74967ceb
commit
a814f119c0
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user