Skip to content

Commit f8e04e0

Browse files
committed
Polish "Fix Homebrew formula to use libexec"
See gh-47696
1 parent 72832b0 commit f8e04e0

File tree

1 file changed

+5
-6
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/homebrew

1 file changed

+5
-6
lines changed

spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/homebrew/spring-boot.rb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ def install
1717
end
1818

1919
libexec.install Dir["#{root}/*"]
20-
21-
(bin/"spring").write_env_script libexec/"bin/spring", {}
20+
(bin/"spring").write_env_script libexec/"bin/spring", {}
2221

23-
bash_comp = libexec/"shell-completion/bash/spring"
24-
zsh_comp = libexec/"shell-completion/zsh/_spring"
22+
bash_comp = libexec/"shell-completion/bash/spring"
23+
zsh_comp = libexec/"shell-completion/zsh/_spring"
2524

26-
bash_completion.install bash_comp if bash_comp.exist?
27-
zsh_completion.install zsh_comp if zsh_comp.exist?
25+
bash_completion.install bash_comp if bash_comp.exist?
26+
zsh_completion.install zsh_comp if zsh_comp.exist?
2827
end
2928
end

0 commit comments

Comments
 (0)