Skip to content

Commit

Permalink
fix: homebrew install was using the wrong jbang.jar
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed May 25, 2021
1 parent 4811334 commit c697ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scripts/brew/jbang.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Jbang < Formula

def install
libexec.install Dir["*"]
inreplace "#{libexec}/bin/jbang", /^abs_jbang_dir=.*/, "abs_jbang_dir=#{libexec}/bin/jbang.jar"
inreplace "#{libexec}/bin/jbang", /^abs_jbang_dir=.*/, "abs_jbang_dir=#{libexec}/bin"
bin.install_symlink "#{libexec}/bin/jbang"
end

Expand Down

0 comments on commit c697ce1

Please sign in to comment.