From 97bbca14485076e3ffec2389b3ec0bbe631ccf3c Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 01/17] easyrpg-player: Stop interpolating `bin` --- Formula/e/easyrpg-player.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/easyrpg-player.rb b/Formula/e/easyrpg-player.rb index 66854a7a8b612..14192d3ce9470 100644 --- a/Formula/e/easyrpg-player.rb +++ b/Formula/e/easyrpg-player.rb @@ -56,7 +56,7 @@ def install if OS.mac? prefix.install "build/EasyRPG Player.app" bin.write_exec_script "#{prefix}/EasyRPG Player.app/Contents/MacOS/EasyRPG Player" - mv "#{bin}/EasyRPG Player", "#{bin}/easyrpg-player" + mv "#{bin}/EasyRPG Player", bin/"easyrpg-player" end end From dfd4840db47290a165ab68fe9c3276da1811689d Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 02/17] ec2-ami-tools: Stop interpolating `bin` --- Formula/e/ec2-ami-tools.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/ec2-ami-tools.rb b/Formula/e/ec2-ami-tools.rb index 24c7abc40b809..f56167efb9852 100644 --- a/Formula/e/ec2-ami-tools.rb +++ b/Formula/e/ec2-ami-tools.rb @@ -37,6 +37,6 @@ def caveats end test do - assert_match version.to_s, shell_output("#{bin}/ec2-ami-tools-version") + assert_match version.to_s, shell_output(bin/"ec2-ami-tools-version") end end From 77415b61b31793995492e2e940fb7764a90f12aa Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 03/17] ekg2: Stop interpolating `bin` --- Formula/e/ekg2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/ekg2.rb b/Formula/e/ekg2.rb index 06a3571b8eeec..c322d2323f6cf 100644 --- a/Formula/e/ekg2.rb +++ b/Formula/e/ekg2.rb @@ -60,6 +60,6 @@ def install end test do - system "#{bin}/ekg2", "--help" + system bin/"ekg2", "--help" end end From eb429a177546e0333a4b8f9cd99fd943f7554c76 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 04/17] eless: Stop interpolating `bin` --- Formula/e/eless.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/eless.rb b/Formula/e/eless.rb index f5089abb85cee..baa9d105f2d5c 100644 --- a/Formula/e/eless.rb +++ b/Formula/e/eless.rb @@ -19,6 +19,6 @@ def install test do assert_match version.to_s, shell_output("#{bin}/eless -V") expected = "This script is not supposed to send output to a pipe" - assert_equal expected, pipe_output("#{bin}/eless").chomp + assert_equal expected, pipe_output(bin/"eless").chomp end end From b486c0378f7dfc7c8a8e52912bfe37e9476c98a9 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 05/17] elixir-ls: Stop interpolating `bin` --- Formula/e/elixir-ls.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/elixir-ls.rb b/Formula/e/elixir-ls.rb index 5a0f83255376b..67737bdd3b9dc 100644 --- a/Formula/e/elixir-ls.rb +++ b/Formula/e/elixir-ls.rb @@ -41,7 +41,7 @@ def install "processId\":88075,\"rootUri\":null,\"capabilities\":{},\"trace\":\"ver" \ "bose\",\"workspaceFolders\":null}}\r\n" - output = pipe_output("#{bin}/elixir-ls", input, 0) + output = pipe_output(bin/"elixir-ls", input, 0) assert_match "Content-Length", output end end From b4766afd8afcbc13e2fd10f60df40a9665253bd4 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 06/17] ems-flasher: Stop interpolating `bin` --- Formula/e/ems-flasher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/ems-flasher.rb b/Formula/e/ems-flasher.rb index e4d0f080904cd..9a28ca775ae3c 100644 --- a/Formula/e/ems-flasher.rb +++ b/Formula/e/ems-flasher.rb @@ -48,6 +48,6 @@ def install end test do - system "#{bin}/ems-flasher", "--version" + system bin/"ems-flasher", "--version" end end From 5211ec2d0fb50463d62d3bdf2ce560fe2fa82c41 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 07/17] epeg: Stop interpolating `bin` --- Formula/e/epeg.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/epeg.rb b/Formula/e/epeg.rb index b45cd5014d13a..f67ee6c38d90e 100644 --- a/Formula/e/epeg.rb +++ b/Formula/e/epeg.rb @@ -30,7 +30,7 @@ def install end test do - system "#{bin}/epeg", "--width=1", "--height=1", test_fixtures("test.jpg"), "out.jpg" + system bin/"epeg", "--width=1", "--height=1", test_fixtures("test.jpg"), "out.jpg" assert_predicate testpath/"out.jpg", :exist? end end From 10464c404f3025019e80636ab3021eb877644106 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 08/17] eprover: Stop interpolating `bin` --- Formula/e/eprover.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/eprover.rb b/Formula/e/eprover.rb index ce359561188ef..b7a771c8df050 100644 --- a/Formula/e/eprover.rb +++ b/Formula/e/eprover.rb @@ -28,6 +28,6 @@ def install end test do - system "#{bin}/eprover", "--help" + system bin/"eprover", "--help" end end From cac9866e31e3218ec02ac80c26b5b6774a6ab434 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 09/17] epsilon: Stop interpolating `bin` --- Formula/e/epsilon.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/epsilon.rb b/Formula/e/epsilon.rb index 22233c35cd6de..3452580cb46c1 100644 --- a/Formula/e/epsilon.rb +++ b/Formula/e/epsilon.rb @@ -44,6 +44,6 @@ def install end test do - system "#{bin}/epsilon", "--version" + system bin/"epsilon", "--version" end end From 67eb9ae1b6e445cee23e4f823b306bbf490c2ac2 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 10/17] eralchemy: Stop interpolating `bin` --- Formula/e/eralchemy.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/e/eralchemy.rb b/Formula/e/eralchemy.rb index cbd3502b8eaa6..68aa214fc9f1b 100644 --- a/Formula/e/eralchemy.rb +++ b/Formula/e/eralchemy.rb @@ -50,9 +50,9 @@ def install sha256 "5c475bacd91a63490e1cbbd1741dc70a3435e98161b5b9458d195ee97f40a3fa" end - system "#{bin}/eralchemy", "-v" + system bin/"eralchemy", "-v" resource("er_example").stage do - system "#{bin}/eralchemy", "-i", "newsmeme.er", "-o", "test_eralchemy.pdf" + system bin/"eralchemy", "-i", "newsmeme.er", "-o", "test_eralchemy.pdf" assert_predicate Pathname.pwd/"test_eralchemy.pdf", :exist? end end From a659b63a2f230abe765be6e5f19a151df6b83b6d Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 11/17] erigon: Stop interpolating `bin` --- Formula/e/erigon.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/erigon.rb b/Formula/e/erigon.rb index ed296a6235606..08cf35eaab816 100644 --- a/Formula/e/erigon.rb +++ b/Formula/e/erigon.rb @@ -59,7 +59,7 @@ def install --log.dir.verbosity debug --log.dir.path #{testpath} ] - system "#{bin}/erigon", *args, "init", "genesis.json" + system bin/"erigon", *args, "init", "genesis.json" assert_predicate testpath/"erigon.log", :exist? end end From 965ec79e006261db94e7ca434469dc37d3e592db Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 12/17] erlang_ls: Stop interpolating `bin` --- Formula/e/erlang_ls.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/erlang_ls.rb b/Formula/e/erlang_ls.rb index aca6de8e7505c..30f5f6ca6b87a 100644 --- a/Formula/e/erlang_ls.rb +++ b/Formula/e/erlang_ls.rb @@ -23,7 +23,7 @@ def install end test do - output = pipe_output("#{bin}/erlang_ls", nil, 1) + output = pipe_output(bin/"erlang_ls", nil, 1) assert_match "Content-Length", output end end From ceea744b797c780f8fe22dc9fc187463eb8918dc Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 13/17] espeak: Stop interpolating `bin` --- Formula/e/espeak.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/espeak.rb b/Formula/e/espeak.rb index 32a7dc69b82eb..e6518edde60e2 100644 --- a/Formula/e/espeak.rb +++ b/Formula/e/espeak.rb @@ -63,6 +63,6 @@ def install end test do - system "#{bin}/espeak", "This is a test for Espeak.", "-w", "out.wav" + system bin/"espeak", "This is a test for Espeak.", "-w", "out.wav" end end From 157f20498c3aa1130223325fee5a5e2bfa9059d6 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 14/17] esphome: Stop interpolating `bin` --- Formula/e/esphome.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/esphome.rb b/Formula/e/esphome.rb index 9aa28424d676a..102e838495f1f 100644 --- a/Formula/e/esphome.rb +++ b/Formula/e/esphome.rb @@ -294,6 +294,6 @@ def install return if Hardware::CPU.arm? ENV.remove_macosxsdk if OS.mac? - system "#{bin}/esphome", "compile", "test.yaml" + system bin/"esphome", "compile", "test.yaml" end end From ba88a9f583ce4b4bdac88423222fa46cb0479924 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 15/17] exiftran: Stop interpolating `bin` --- Formula/e/exiftran.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/exiftran.rb b/Formula/e/exiftran.rb index 5d44c0ce85a39..b55eaccb81056 100644 --- a/Formula/e/exiftran.rb +++ b/Formula/e/exiftran.rb @@ -61,6 +61,6 @@ def install end test do - system "#{bin}/exiftran", "-9", "-o", "out.jpg", test_fixtures("test.jpg") + system bin/"exiftran", "-9", "-o", "out.jpg", test_fixtures("test.jpg") end end From 21346d6c6e72ed632911b8935395857c62677d21 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:02 -0700 Subject: [PATCH 16/17] expect: Stop interpolating `bin` --- Formula/e/expect.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/expect.rb b/Formula/e/expect.rb index 8085202b7c9f7..0d8e6f8905565 100644 --- a/Formula/e/expect.rb +++ b/Formula/e/expect.rb @@ -88,6 +88,6 @@ def install test do assert_match "works", shell_output("echo works | #{bin}/timed-read 1") assert_equal "", shell_output("{ sleep 3; echo fails; } | #{bin}/timed-read 1 2>&1") - assert_match "Done", pipe_output("#{bin}/expect", "exec true; puts Done") + assert_match "Done", pipe_output(bin/"expect", "exec true; puts Done") end end From ad39d7a33a80fb6979b6401e004ca87a4d612e66 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 1 Aug 2024 16:03:03 -0700 Subject: [PATCH 17/17] exult: Stop interpolating `bin` --- Formula/e/exult.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/e/exult.rb b/Formula/e/exult.rb index 716ab62f3d01d..ee22e5c09aefe 100644 --- a/Formula/e/exult.rb +++ b/Formula/e/exult.rb @@ -61,6 +61,6 @@ def caveats end test do - system "#{bin}/exult", "-v" + system bin/"exult", "-v" end end