48ea19d500
PR: ports/294256 Approved by: yuri (maintainer)
12 lines
457 B
Plaintext
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)
|