From f6a86a9ed8a152d3592ff63f1a49b580076a2adf Mon Sep 17 00:00:00 2001 From: GEBELINE Paul Stanley Date: Fri, 11 Sep 2026 02:16:12 +0900 Subject: [PATCH] purge the site installEnv variables --- Pilot/pilotCommands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Pilot/pilotCommands.py b/Pilot/pilotCommands.py index b6d9cef3..58ed659d 100644 --- a/Pilot/pilotCommands.py +++ b/Pilot/pilotCommands.py @@ -200,6 +200,7 @@ def _sourceEnvironmentFile(self): """Source the $DIRAC_RC_FILE and save the created environment in self.pp.installEnv""" retCode, output = self.executeAndGetOutput("bash -c 'source $DIRAC_RC_PATH && env'", self.pp.installEnv) + self.pp.installEnv = {} if retCode: self.log.error("Could not parse the %s file [ERROR %d]" % (self.pp.installEnv["DIRAC_RC_PATH"], retCode)) self.exitWithError(retCode)