/[pdpsoft]/trunk/nl.nikhef.ndpf.tools/globus-gram-job-manager-pbs-nikhef/pbs.pm.cin
ViewVC logotype

Diff of /trunk/nl.nikhef.ndpf.tools/globus-gram-job-manager-pbs-nikhef/pbs.pm.cin

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2517 by davidg, Tue Apr 24 15:17:11 2012 UTC revision 2518 by davidg, Tue Apr 24 15:56:43 2012 UTC
# Line 402  EOF Line 402  EOF
402    
403          $rsh_env .= $tuple->[0] . '="' . $tuple->[1] . "\";\n"          $rsh_env .= $tuple->[0] . '="' . $tuple->[1] . "\";\n"
404                   .  'export ' . $tuple->[0] . ";\n";                   .  'export ' . $tuple->[0] . ";\n";
405    
406            # preserve GRID_ID, GATEKEEPER_PEER, and others locally
407            if (  $tuple->[0] =~ /^GRID_ID|GATEKEEPER_PEER|GATEKEEPER_JM_ID/ ) {
408                $ENV{$tuple->[0]} = $tuple->[1];
409            }
410      }      }
411    
412      ###############################################################################      ###############################################################################
# Line 439  EOF Line 444  EOF
444      } else {      } else {
445          print JOB "# Proxy location undefined, VO not set\n";          print JOB "# Proxy location undefined, VO not set\n";
446      }      }
447        foreach my $e ( keys %ENV ) {
448            print JOB "# SYSTEM ENV $e = ".$ENV{$e}."\n";
449        }
450      ###############################################################################      ###############################################################################
451    
452    

Legend:
Removed from v.2517  
changed lines
  Added in v.2518

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28