summaryrefslogtreecommitdiffstats
path: root/Mac/BuildScript
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-04-20 05:50:44 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-04-20 05:50:44 (GMT)
commitac4b7adadf1837cc6bfbca51d815a7b384a4c071 (patch)
treefa045d6b6db25f2e0248e10e9a54f28b37c9c52b /Mac/BuildScript
parent607f7c056e19b6418421fd26b6754c906868672f (diff)
downloadcpython-ac4b7adadf1837cc6bfbca51d815a7b384a4c071.zip
cpython-ac4b7adadf1837cc6bfbca51d815a7b384a4c071.tar.gz
cpython-ac4b7adadf1837cc6bfbca51d815a7b384a4c071.tar.bz2
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 f120adaa..fbbb484 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -436,6 +436,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):
"""