summaryrefslogtreecommitdiffstats
path: root/Mac/BuildScript
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-04-20 06:37:54 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-04-20 06:37:54 (GMT)
commit8e96394f241f49b776494812a119c1b1fec1ac18 (patch)
tree2798a2621b94290114deeb0516593d30e9cd46da /Mac/BuildScript
parentac0ce54e8b0dd03f713ae0567b39f00eda27cc18 (diff)
downloadcpython-8e96394f241f49b776494812a119c1b1fec1ac18.zip
cpython-8e96394f241f49b776494812a119c1b1fec1ac18.tar.gz
cpython-8e96394f241f49b776494812a119c1b1fec1ac18.tar.bz2
Merged revisions 80233 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r80233 | ronald.oussoren | 2010-04-20 08:36:47 +0200 (Tue, 20 Apr 2010) | 10 lines 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) ........ ................
Diffstat (limited to 'Mac/BuildScript')
-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):
"""