From c424201401193ae23d24c02c0fb49294fc312c75 Mon Sep 17 00:00:00 2001 From: Seeker Date: Mon, 28 Dec 2020 14:17:36 -0800 Subject: [PATCH] formula_creator: update hash syntax --- Library/Homebrew/formula_creator.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/formula_creator.rb b/Library/Homebrew/formula_creator.rb index fd9472c2db..16e4a6f95c 100644 --- a/Library/Homebrew/formula_creator.rb +++ b/Library/Homebrew/formula_creator.rb @@ -193,7 +193,7 @@ module Homebrew # end bin.install name - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) <% elsif mode == :python %> virtualenv_install_with_resources <% elsif mode == :ruby %> @@ -201,7 +201,7 @@ module Homebrew system "gem", "build", "\#{name}.gemspec" system "gem", "install", "\#{name}-\#{version}.gem" bin.install libexec/"bin/\#{name}" - bin.env_script_all_files(libexec/"bin", :GEM_HOME => ENV["GEM_HOME"]) + bin.env_script_all_files(libexec/"bin", GEM_HOME: ENV["GEM_HOME"]) <% elsif mode == :rust %> system "cargo", "install", *std_cargo_args <% else %>