Bug 3687 - %ENV mispelled %env in globus-job-manager-script.pl
: %ENV mispelled %env in globus-job-manager-script.pl
Status: RESOLVED FIXED
: GRAM
wsrf managed execution job service
: 4.0.1
: Macintosh MacOS
: P3 major
: 4.0.2
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-08-25 14:43 by
Modified: 2006-04-07 16:27 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-08-25 14:43:41
MacOS and AIX job submissions won't work with packages installed somewhere   
other than the location specificed with --prefix because    
DYLD_LIBRARY_PATH and LIBPATH are not actually set due to the use of the wrong  
case. 
   
The following patch will fix the problem (or at least it fixes MacOS):  
  
--- globus-job-manager-script.pl.orig   2005-08-25 15:35:42.000000000 -0400  
+++ globus-job-manager-script.pl        2005-08-25 15:35:26.000000000 -0400  
@@ -19,11 +19,11 @@  
 }  
 elsif($Config{osname} eq 'aix')  
 {  
-    &append_path(\%env, 'LIBPATH', $path);  
+    &append_path(\%ENV, 'LIBPATH', $path);  
 }  
 elsif($Config{osname} eq 'darwin')  
 {  
-    &append_path(\%env, 'DYLD_LIBRARY_PATH', $path);  
+    &append_path(\%ENV, 'DYLD_LIBRARY_PATH', $path);  
 }  
 &append_path(\%ENV, 'LD_LIBRARY_PATH', $path);
------- Comment #1 From 2005-08-25 15:00:32 -------
This has already been fixed in CVS (both globus_4_0_branch and head).

Closing as fixed.