Skip to content

Commit 728185a

Browse files
committed
whatmp3: use python from path
Signed-off-by: Rui Chen <[email protected]>
1 parent c40130c commit 728185a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Formula/w/whatmp3.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ class Whatmp3 < Formula
1717
depends_on "flac"
1818
depends_on "lame"
1919
depends_on "mktorrent"
20-
depends_on "[email protected]"
20+
21+
uses_from_macos "python"
2122

2223
def install
2324
system "make", "PREFIX=#{prefix}", "install"
2425

25-
rewrite_shebang detected_python_shebang, bin/"whatmp3"
26+
rewrite_shebang detected_python_shebang(use_python_from_path: true), bin/"whatmp3"
2627
end
2728

2829
test do

0 commit comments

Comments
 (0)