diff --git a/Formula/asciidoc.rb b/Formula/asciidoc.rb index b6336af247..c111c54e03 100644 --- a/Formula/asciidoc.rb +++ b/Formula/asciidoc.rb @@ -4,6 +4,7 @@ class Asciidoc < Formula # This release is listed as final on GitHub, but not listed on asciidoc.org. url "https://github.com/asciidoc/asciidoc/archive/8.6.10.tar.gz" sha256 "9e52f8578d891beaef25730a92a6e723596ddbd07bfe0d2a56486fcf63a0b983" + revision 1 head "https://github.com/asciidoc/asciidoc.git" bottle do @@ -23,7 +24,11 @@ class Asciidoc < Formula system "autoconf" system "./configure", "--prefix=#{prefix}" - inreplace "asciidoc.py", "#!/usr/bin/env python2", "#!/usr/bin/python" + inreplace %w[a2x.py asciidoc.py filters/code/code-filter.py + filters/graphviz/graphviz2png.py filters/latex/latex2img.py + filters/music/music2png.py filters/unwraplatex.py], + "#!/usr/bin/env python2", "#!/usr/bin/python" + # otherwise macOS's xmllint bails out inreplace "Makefile", "-f manpage", "-f manpage -L" system "make", "install"