]> granicus.if.org Git - python/commitdiff
Merged revisions 80233 via svnmerge from
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 20 Apr 2010 06:37:54 +0000 (06:37 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Tue, 20 Apr 2010 06:37:54 +0000 (06:37 +0000)
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)
  ........
................

Mac/BuildScript/build-installer.py

index ec7b8c39e372ea97d56c2e84ca9ff418c606116c..38206bfe01353046cf57eb32c7a4b607a8bb7d53 100755 (executable)
@@ -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):
     """