From 22e02ec014fe0197b2102d563e5a2a239459d86d Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Sun, 3 Nov 2024 09:56:19 -0500 Subject: [PATCH] zim: test workaround for upstream bug seen on Sequoia --- Formula/z/zim.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/z/zim.rb b/Formula/z/zim.rb index e263b08546b99..1e6e0fa69271c 100644 --- a/Formula/z/zim.rb +++ b/Formula/z/zim.rb @@ -61,7 +61,8 @@ def install end test do - ENV["LC_ALL"] = "en_US.UTF-8" + # Workaround for https://github.com/zim-desktop-wiki/zim-desktop-wiki/issues/2665 + ENV["LC_ALL"] = (OS.mac? && MacOS.version >= :sequoia) ? "C" : "en_US.UTF-8" ENV["LANG"] = "en_US.UTF-8" mkdir_p %w[Notes/Homebrew HTML]