Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 9492)
+++ trunk/MagicSoft/Mars/Changelog	(revision 9493)
@@ -37,4 +37,6 @@
      - bugfix: pass environment variable AUTOMATIONSETUP to sun grid
        engine
+     - pass environment variable AUTOMATIONSETUP also in the case of 
+       condor (macro $automationsetup)
 
    * datacenter/scripts/setup.isdc.cta:
@@ -43,4 +45,8 @@
        excluded nodes (needed in the jobmanager for the changes 
        above)
+
+   * datacenter/scripts/run.condor:
+     - added definition of environment variable using macro 
+       $automationsetup
 
 
Index: trunk/MagicSoft/Mars/datacenter/scripts/jobmanager
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/jobmanager	(revision 9492)
+++ trunk/MagicSoft/Mars/datacenter/scripts/jobmanager	(revision 9493)
@@ -60,5 +60,5 @@
             ;;
    condor)  echo " on queuing system 'condor'" >> $jmscriptlog 2>&1
-            alias 'queuesubmit'='/usr/local/bin/condor_submit -a path=`echo $scriptspath` -a prog=`echo ${scripts[$i]}` -a date=`echo $date` -a dir=`echo $runlogpath` `echo $scriptspath`/run.condor'
+            alias 'queuesubmit'='/usr/local/bin/condor_submit -a path=`echo $scriptspath` -a prog=`echo ${scripts[$i]}` -a date=`echo $date` -a dir=`echo $runlogpath` -a automationsetup=$AUTOMATIONSETUP `echo $scriptspath`/run.condor'
             alias 'checkqueue'='/usr/local/bin/condor_q -global -format "Owner%s " Owner -format "%s" CMD -format "Jobstatus%s\n" Jobstatus '
             break
Index: trunk/MagicSoft/Mars/datacenter/scripts/run.condor
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/run.condor	(revision 9492)
+++ trunk/MagicSoft/Mars/datacenter/scripts/run.condor	(revision 9493)
@@ -7,4 +7,5 @@
 error         = error-$(date).log
 notification  = Error
+environment   = AUTOMATIONSETUP=$(automationsetup)
 
 Initialdir = $(dir)
