Skip to content

Commit 5575b59

Browse files
committed
xcode-build-server: use python from path
Signed-off-by: Rui Chen <[email protected]>
1 parent c40130c commit 5575b59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Formula/x/xcode-build-server.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ class XcodeBuildServer < Formula
1414

1515
depends_on "gzip"
1616
depends_on :macos
17-
depends_on "[email protected]"
17+
18+
uses_from_macos "python"
1819

1920
def install
2021
libexec.install Dir["*"]
2122

22-
rewrite_shebang detected_python_shebang, libexec/"xcode-build-server"
23+
rewrite_shebang detected_python_shebang(use_python_from_path: true), libexec/"xcode-build-server"
2324
bin.install_symlink libexec/"xcode-build-server"
2425
end
2526

0 commit comments

Comments
 (0)