From f7e8b5d2b2ecc7118398e1dd21cdf8b7fc40a391 Mon Sep 17 00:00:00 2001 From: Stefano Belforte Date: Thu, 12 Jun 2014 13:04:28 +0200 Subject: [PATCH] prefix command invocation with scram unsetenv. For #14 --- .../ProdCommon/BossLite/Scheduler/SchedulerRemoteglidein.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/ProdCommon/BossLite/Scheduler/SchedulerRemoteglidein.py b/src/python/ProdCommon/BossLite/Scheduler/SchedulerRemoteglidein.py index fb3a064..6cfafa3 100644 --- a/src/python/ProdCommon/BossLite/Scheduler/SchedulerRemoteglidein.py +++ b/src/python/ProdCommon/BossLite/Scheduler/SchedulerRemoteglidein.py @@ -770,8 +770,8 @@ def initializeGsissh(self,obj): raise SchedulerError('Fatal','no copy command defined') self.remoteUserHost = self.remoteUserHostCommand.split(':')[1] else: - self.remoteCommand = 'gsissh' - self.remoteCopyCommand = 'gsiscp' + self.remoteCommand = 'eval `scram unsetenv -sh`; gsissh' + self.remoteCopyCommand = 'eval `scram unsetenv -sh`; gsiscp' self.remoteUserHost = self.remoteUserHostCommand self.remoteHost = self.remoteUserHostCommand.split('@')[-1]