summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2003-03-20 21:37:05 (GMT)
committerJust van Rossum <just@letterror.com>2003-03-20 21:37:05 (GMT)
commita87e44792c6d85da996757a7bb260d888d242eb1 (patch)
tree2e3288c03ae12ceaf676e8848d858de04327482d
parent9905b943f79a03741b062c82bdf96a078df303e4 (diff)
downloadcpython-a87e44792c6d85da996757a7bb260d888d242eb1.zip
cpython-a87e44792c6d85da996757a7bb260d888d242eb1.tar.gz
cpython-a87e44792c6d85da996757a7bb260d888d242eb1.tar.bz2
set $PYTHONHOME in the bootstrap script, for no good reason really,
except to avoid getpath.c giving unsollicited advice on stderr.
-rwxr-xr-xLib/plat-mac/bundlebuilder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py
index 9e4fc91..5fe2c60 100755
--- a/Lib/plat-mac/bundlebuilder.py
+++ b/Lib/plat-mac/bundlebuilder.py
@@ -272,6 +272,7 @@ mainprogram = os.path.join(resdir, "%(mainprogram)s")
sys.argv.insert(1, mainprogram)
os.environ["PYTHONPATH"] = resdir
+os.environ["PYTHONHOME"] = resdir
os.environ["PYTHONEXECUTABLE"] = executable
os.execve(executable, sys.argv, os.environ)
"""