From 6f76187fb2065be27093c369542f13b1993b2826 Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Tue, 20 Apr 2010 06:37:38 +0000 Subject: [PATCH] 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) ........ --- Mac/BuildScript/build-installer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index b0771148193..961bba433b7 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -430,6 +430,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): """