From 860485d7b8360674c0437ecc4d1b296f4481719c Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 19 Mar 2010 16:02:35 +0000 Subject: [PATCH] No longer sets the _USER_TOP if it's not set in the environment. --- bootstrap/buildCoriolis.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bootstrap/buildCoriolis.py b/bootstrap/buildCoriolis.py index aaac20f0..e0362bb1 100755 --- a/bootstrap/buildCoriolis.py +++ b/bootstrap/buildCoriolis.py @@ -277,11 +277,12 @@ class ProjectBuilder: topUserVariable = "%s_USER_TOP" % project.getName().upper() if not self._environment.has_key(topVariable): self._environment[ topVariable ] = self._installDir - if not self._environment.has_key(topUserVariable): - self._environment[ topUserVariable ] = self._installDir + #if not self._environment.has_key(topUserVariable): + # self._environment[ topUserVariable ] = self._installDir if not self._quiet: print "Setting %s = \"%s\"." % (topVariable ,self._environment[topVariable]) - print "Setting %s = \"%s\"." % (topUserVariable,self._environment[topUserVariable]) + if self._environment.has_key(topUserVariable): + print "Setting %s = \"%s\"." % (topUserVariable,self._environment[topUserVariable]) if projectName: project = self.getProject ( projectName )