Move -- higher in argument list

A spurious "--" argument was being passed to the installer script.
This commit is contained in:
Adam Vandenberg 2011-06-21 06:57:07 -07:00
parent 77e01d69ec
commit c5923168d6

View File

@ -75,8 +75,8 @@ class FormulaInstaller
'/usr/bin/ruby', '/usr/bin/ruby',
'-I', Pathname.new(__FILE__).dirname, '-I', Pathname.new(__FILE__).dirname,
'-rinstall', '-rinstall',
f.path,
'--', '--',
f.path,
*ARGV.options_only *ARGV.options_only
rescue Exception => e rescue Exception => e
Marshal.dump(e, write) Marshal.dump(e, write)