Skip to content

Commit ded9731

Browse files
authored
deno: fix python3 references. (Homebrew#109770)
See Homebrew#108008.
1 parent fd6a45b commit ded9731

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Formula/deno.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ def install
8383
ENV["FORCE_MAC_SDK_MIN"] = MacOS.version
8484
end
8585

86+
python3 = "python3.10"
8687
# env args for building a release build with our python3, ninja and gn
8788
ENV.prepend_path "PATH", Formula["python@3.10"].libexec/"bin"
88-
ENV["PYTHON"] = Formula["python@3.10"].opt_bin/"python3"
89+
ENV["PYTHON"] = Formula["python@3.10"].opt_bin/python3
8990
ENV["GN"] = buildpath/"gn/out/gn"
9091
ENV["NINJA"] = Formula["ninja"].opt_bin/"ninja"
9192
# build rusty_v8 from source
@@ -96,7 +97,7 @@ def install
9697

9798
resource("gn").stage buildpath/"gn"
9899
cd "gn" do
99-
system "python3", "build/gen.py"
100+
system python3, "build/gen.py"
100101
system "ninja", "-C", "out"
101102
end
102103

0 commit comments

Comments
 (0)