From 5c4d8d8f10bf5425acd419f0b9df41bf8099031e Mon Sep 17 00:00:00 2001 From: Yoshitaka Moriwaki Date: Sun, 3 Mar 2024 01:16:43 +0900 Subject: [PATCH] staden-io-lib 1.15.0 --- Formula/staden-io-lib.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Formula/staden-io-lib.rb b/Formula/staden-io-lib.rb index de7d5492c..f8ef0883c 100644 --- a/Formula/staden-io-lib.rb +++ b/Formula/staden-io-lib.rb @@ -40,9 +40,10 @@ def install pkgshare.install "tests" # Avoid references to Homebrew shims - os = OS.mac? ? "mac" : "linux" - inreplace pkgshare/"tests/Makefile", HOMEBREW_LIBRARY/"Homebrew/shims/#{os}/super/", "/usr/bin/" - rm pkgshare/"tests/cram_io_test" + if OS.linux? + inreplace pkgshare/"tests/Makefile", HOMEBREW_LIBRARY/"Homebrew/shims/linux/super/", "/usr/bin/" + rm pkgshare/"tests/cram_io_test" + end end test do