diff --git a/Formula/e/erlang@24.rb b/Formula/e/erlang@24.rb index 765f69fae779d..d43b177ddae13 100644 --- a/Formula/e/erlang@24.rb +++ b/Formula/e/erlang@24.rb @@ -35,6 +35,8 @@ class ErlangAT24 < Formula end def install + odie "html resource needs to be updated" if version != resource("html").version + # Unset these so that building wx, kernel, compiler and # other modules doesn't fail with an unintelligible error. %w[LIBS FLAGS AFLAGS ZFLAGS].each { |k| ENV.delete("ERL_#{k}") } @@ -84,8 +86,6 @@ def caveats end test do - assert_equal version, resource("html").version, "`html` resource needs updating!" - system "#{bin}/erl", "-noshell", "-eval", "crypto:start().", "-s", "init", "stop" (testpath/"factorial").write <<~EOS #!#{bin}/escript