summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-04-20 06:36:47 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-04-20 06:36:47 (GMT)
commit1e99be71336ae2dee62b4aa8e25016a2fbbd4060 (patch)
treef0fdad372bb13b611cb0e50e423caeda64ed5540
parent5340db38034557204de5629a4a136d0da2acd3c4 (diff)
downloadcpython-1e99be71336ae2dee62b4aa8e25016a2fbbd4060.zip
cpython-1e99be71336ae2dee62b4aa8e25016a2fbbd4060.tar.gz
cpython-1e99be71336ae2dee62b4aa8e25016a2fbbd4060.tar.bz2
Merged revisions 80232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r80232 | ronald.oussoren | 2010-04-20 07:50:44 +0200 (Tue, 20 Apr 2010) | 3 lines Explicitly set system default for $PATH to ensure we have a clean build environment (OSX installer) ........
-rwxr-xr-xMac/BuildScript/build-installer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index ec7b8c3..38206bf 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -442,6 +442,9 @@ def checkEnvironment():
ev, os.environ[ev])
del os.environ[ev]
+ os.environ['PATH'] = '/bin:/sbin:/usr/bin:/usr/sbin'
+ print "Setting default PATH: %s"%(os.environ['PATH'])
+
def parseOptions(args=None):
"""