diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-04-20 05:50:44 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-04-20 05:50:44 (GMT) |
commit | ac4b7adadf1837cc6bfbca51d815a7b384a4c071 (patch) | |
tree | fa045d6b6db25f2e0248e10e9a54f28b37c9c52b /Mac/BuildScript | |
parent | 607f7c056e19b6418421fd26b6754c906868672f (diff) | |
download | cpython-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-x | Mac/BuildScript/build-installer.py | 3 |
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): """ |