From ee05fbed3f24641b8fb809ef13f40509b7c133b6 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:45 +0100 Subject: [PATCH 01/18] vala-language-server: Stop interpolating `bin` --- Formula/v/vala-language-server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vala-language-server.rb b/Formula/v/vala-language-server.rb index e609324f8a045b..6f03e0e53c6da8 100644 --- a/Formula/v/vala-language-server.rb +++ b/Formula/v/vala-language-server.rb @@ -50,7 +50,7 @@ def install "processId\":88075,\"rootPath\":\"#{testpath}\",\"capabilities\":{},\"trace\":\"ver" \ "bose\",\"workspaceFolders\":null}}\r\n" - output = pipe_output("#{bin}/vala-language-server", input, 0) + output = pipe_output(bin/"vala-language-server", input, 0) assert_match(/^Content-Length: \d+/i, output) end end From 17f93bf762dd4df863de7bcfbf9e13c5aa6f097e Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:45 +0100 Subject: [PATCH 02/18] vassh: Stop interpolating `bin` --- Formula/v/vassh.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vassh.rb b/Formula/v/vassh.rb index 1e5081f297b588..a5362fddcf6aa9 100644 --- a/Formula/v/vassh.rb +++ b/Formula/v/vassh.rb @@ -13,6 +13,6 @@ def install end test do - system "#{bin}/vassh", "-h" + system bin/"vassh", "-h" end end From a3935e40035e7b580a6e8459428f8a91bea24e24 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:45 +0100 Subject: [PATCH 03/18] vaulted: Stop interpolating `bin` --- Formula/v/vaulted.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vaulted.rb b/Formula/v/vaulted.rb index 2c9aaf5b5308c6..b9edb3ebe6a6d1 100644 --- a/Formula/v/vaulted.rb +++ b/Formula/v/vaulted.rb @@ -31,7 +31,7 @@ def install test do (testpath/".local/share/vaulted").mkpath touch(".local/share/vaulted/test_vault") - output = IO.popen(["#{bin}/vaulted", "ls"], &:read) + output = IO.popen([bin/"vaulted", "ls"], &:read) output == "test_vault\n" end end From 01a2951120cde7534c72d41b10d74456a5cf9650 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:45 +0100 Subject: [PATCH 04/18] vbindiff: Stop interpolating `bin` --- Formula/v/vbindiff.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vbindiff.rb b/Formula/v/vbindiff.rb index c1c57c95cd8c20..039a214a43aa3e 100644 --- a/Formula/v/vbindiff.rb +++ b/Formula/v/vbindiff.rb @@ -37,6 +37,6 @@ def install end test do - system "#{bin}/vbindiff", "-L" + system bin/"vbindiff", "-L" end end From d98730c01929ab2a7c091e6fc2b8e575ecbc0a70 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:46 +0100 Subject: [PATCH 05/18] vc4asm: Stop interpolating `bin` --- Formula/v/vc4asm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vc4asm.rb b/Formula/v/vc4asm.rb index 98821fc32252e9..9fccf65367759b 100644 --- a/Formula/v/vc4asm.rb +++ b/Formula/v/vc4asm.rb @@ -38,6 +38,6 @@ def install add.unpack8ai r0, r4, ra1 add r0, r4.8a, ra1 EOS - system "#{bin}/vc4asm", "-o test.hex", "-V", "#{share}/vc4inc/vc4.qinc", "test.qasm" + system bin/"vc4asm", "-o test.hex", "-V", "#{share}/vc4inc/vc4.qinc", "test.qasm" end end From f775b52d0ad5edff9311db2cadb5d8c5a1a0999e Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:46 +0100 Subject: [PATCH 06/18] vcprompt: Stop interpolating `bin` --- Formula/v/vcprompt.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vcprompt.rb b/Formula/v/vcprompt.rb index ec928a40d23d3d..4d5591cf574b58 100644 --- a/Formula/v/vcprompt.rb +++ b/Formula/v/vcprompt.rb @@ -38,6 +38,6 @@ def install end test do - system "#{bin}/vcprompt" + system bin/"vcprompt" end end From defc438acc93f99084201f3f7d02b073cf69158e Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:46 +0100 Subject: [PATCH 07/18] vdirsyncer: Stop interpolating `bin` --- Formula/v/vdirsyncer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/v/vdirsyncer.rb b/Formula/v/vdirsyncer.rb index 7f382bde0bcf69..d3dcebd67cea0e 100644 --- a/Formula/v/vdirsyncer.rb +++ b/Formula/v/vdirsyncer.rb @@ -148,8 +148,8 @@ def install END:VCARD EOS (testpath/".contacts/b/foo/").mkpath - system "#{bin}/vdirsyncer", "discover" - system "#{bin}/vdirsyncer", "sync" + system bin/"vdirsyncer", "discover" + system bin/"vdirsyncer", "sync" assert_match "Ö φ 風 ض", (testpath/".contacts/b/foo/092a1e3b55.vcf").read end end From 706dc1360090531988650f96ec6791ebee66b804 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:46 +0100 Subject: [PATCH 08/18] verapdf: Stop interpolating `bin` --- Formula/v/verapdf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/verapdf.rb b/Formula/v/verapdf.rb index 96a1594f2ae471..afe9df93da2f38 100644 --- a/Formula/v/verapdf.rb +++ b/Formula/v/verapdf.rb @@ -38,7 +38,7 @@ def install end test do - with_env(VERAPDF: "#{bin}/verapdf", NO_CD: "1") do + with_env(VERAPDF: bin/"verapdf", NO_CD: "1") do system prefix/"tests/exit-status.sh" end end From 5f12197e553d38e9ef285af3963c312788f434ef Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:47 +0100 Subject: [PATCH 09/18] vhs: Stop interpolating `bin` --- Formula/v/vhs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vhs.rb b/Formula/v/vhs.rb index 983786768a0bde..d2d033c4f5c1df 100644 --- a/Formula/v/vhs.rb +++ b/Formula/v/vhs.rb @@ -36,7 +36,7 @@ def install Sleep 1s TAPE - system "#{bin}/vhs", "validate", "test.tape" + system bin/"vhs", "validate", "test.tape" assert_match version.to_s, shell_output("#{bin}/vhs --version") end From 716cf1b4681924bb38b97de691a44afd070841bc Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:47 +0100 Subject: [PATCH 10/18] video-compare: Stop interpolating `bin` --- Formula/v/video-compare.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/video-compare.rb b/Formula/v/video-compare.rb index fe31cab03cde33..1cd475dbefd04c 100644 --- a/Formula/v/video-compare.rb +++ b/Formula/v/video-compare.rb @@ -28,7 +28,7 @@ def install testvideo = test_fixtures("test.gif") # GIF is valid ffmpeg input format begin pid = fork do - exec "#{bin}/video-compare", testvideo, testvideo + exec bin/"video-compare", testvideo, testvideo end sleep 3 ensure From 0e9a804f8d4d94f674a0827448276620486c58ef Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:47 +0100 Subject: [PATCH 11/18] viewvc: Stop interpolating `bin` --- Formula/v/viewvc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/viewvc.rb b/Formula/v/viewvc.rb index eed4f269c3fa02..8232cf1b0eda43 100644 --- a/Formula/v/viewvc.rb +++ b/Formula/v/viewvc.rb @@ -30,7 +30,7 @@ def install begin pid = fork do - exec "#{bin}/viewvc-standalone.py", "--port=#{port}" + exec bin/"viewvc-standalone.py", "--port=#{port}" end sleep 2 From 82728c7b12d7c0342e5cf2615b7ee53462e675ac Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:47 +0100 Subject: [PATCH 12/18] vilistextum: Stop interpolating `bin` --- Formula/v/vilistextum.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vilistextum.rb b/Formula/v/vilistextum.rb index 119590f3b78178..2e4788e56bc79c 100644 --- a/Formula/v/vilistextum.rb +++ b/Formula/v/vilistextum.rb @@ -40,6 +40,6 @@ def install end test do - system "#{bin}/vilistextum", "-v" + system bin/"vilistextum", "-v" end end From b6bdc961758abbb646d2a00e43944e7ce3808104 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:47 +0100 Subject: [PATCH 13/18] vimpc: Stop interpolating `bin` --- Formula/v/vimpc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vimpc.rb b/Formula/v/vimpc.rb index 3b8cf7ccd3c7c8..03ceebb2548b55 100644 --- a/Formula/v/vimpc.rb +++ b/Formula/v/vimpc.rb @@ -40,6 +40,6 @@ def install end test do - system "#{bin}/vimpc", "-v" + system bin/"vimpc", "-v" end end From 50e04def303e9f53d91b64fb214342205693bca2 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:48 +0100 Subject: [PATCH 14/18] vips: Stop interpolating `bin` --- Formula/v/vips.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vips.rb b/Formula/v/vips.rb index 79f36eb2742cb4..cc208215a5730e 100644 --- a/Formula/v/vips.rb +++ b/Formula/v/vips.rb @@ -79,7 +79,7 @@ def install end test do - system "#{bin}/vips", "-l" + system bin/"vips", "-l" cmd = "#{bin}/vipsheader -f width #{test_fixtures("test.png")}" assert_equal "8", shell_output(cmd).chomp From 48a3875f9a7c157ef200bc4a7cb3e51de549f172 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:48 +0100 Subject: [PATCH 15/18] vlmcsd: Stop interpolating `bin` --- Formula/v/vlmcsd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vlmcsd.rb b/Formula/v/vlmcsd.rb index bfe075f52eda70..af88a878b5c558 100644 --- a/Formula/v/vlmcsd.rb +++ b/Formula/v/vlmcsd.rb @@ -69,7 +69,7 @@ def caveats assert_match "vlmcs", output begin pid = fork do - exec "#{bin}/vlmcsd", "-D" + exec bin/"vlmcsd", "-D" end # Run vlmcsd, then use vlmcs to check # the running status of vlmcsd From cf71fc8c1bec24450ef0f2347913e20919e61bfd Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:48 +0100 Subject: [PATCH 16/18] vmdktool: Stop interpolating `bin` --- Formula/v/vmdktool.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vmdktool.rb b/Formula/v/vmdktool.rb index c83a70c62580fd..1f7fdbf14779a6 100644 --- a/Formula/v/vmdktool.rb +++ b/Formula/v/vmdktool.rb @@ -60,7 +60,7 @@ def install # Create a blank disk image in raw format system "dd", "if=/dev/zero", "of=blank.raw", "bs=512", "count=20480" # Use vmdktool to convert to streamOptimized VMDK file - system "#{bin}/vmdktool", "-v", "blank.vmdk", "blank.raw" + system bin/"vmdktool", "-v", "blank.vmdk", "blank.raw" # Inspect the VMDK with vmdktool output = shell_output("#{bin}/vmdktool -i blank.vmdk") assert_match "RDONLY 20480 SPARSE", output From b89e7c0cef90d90bd492350d58d635c134b6ba21 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:48 +0100 Subject: [PATCH 17/18] vorbisgain: Stop interpolating `bin` --- Formula/v/vorbisgain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vorbisgain.rb b/Formula/v/vorbisgain.rb index cda2a627d51973..3a8a1fc871aa66 100644 --- a/Formula/v/vorbisgain.rb +++ b/Formula/v/vorbisgain.rb @@ -40,6 +40,6 @@ def install end test do - system "#{bin}/vorbisgain", "--version" + system bin/"vorbisgain", "--version" end end From e680aa463ae4bd04f7c1644748c534d7ddbc7c42 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:38:48 +0100 Subject: [PATCH 18/18] vpcs: Stop interpolating `bin` --- Formula/v/vpcs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/v/vpcs.rb b/Formula/v/vpcs.rb index 50be6354e16d29..2b173e08186e62 100644 --- a/Formula/v/vpcs.rb +++ b/Formula/v/vpcs.rb @@ -34,6 +34,6 @@ def install end test do - system "#{bin}/vpcs", "--version" + system bin/"vpcs", "--version" end end