Files
ports/devel/bazel7/files/patch-tools_python_python_bootstrap_template.txt
T
2026-10-04 04:07:15 +00:00

12 lines
457 B
Plaintext

--- tools/python/python_bootstrap_template.txt.orig 1980-01-01 00:00:00 UTC
+++ tools/python/python_bootstrap_template.txt
@@ -76,7 +76,7 @@
def SearchPath(name):
"""Finds a file in a given search path."""
- search_path = os.getenv('PATH', os.defpath).split(os.pathsep)
+ search_path = os.getenv('PATH', os.defpath + ":%%PREFIX%%/bin").split(os.pathsep)
for directory in search_path:
if directory:
path = os.path.join(directory, name)