(file) Return to make_jsoc.pl CVS log (file) (dir) Up to [Development] / JSOC

Diff for /JSOC/make_jsoc.pl between version 1.5 and 1.6

version 1.5, 2012/02/08 22:23:41 version 1.6, 2012/02/08 23:58:44
Line 3 
Line 3 
 # run this on each machine to be used. # run this on each machine to be used.
 #    n00 - for linux_ia32 machines such as n00, ..., n11, etc. #    n00 - for linux_ia32 machines such as n00, ..., n11, etc.
 #    n12 - for linux_x86_64 machines #    n12 - for linux_x86_64 machines
   #
   # *** The caller of this script must cd to the JSOC root directory before running this script. ***
  
 use Cwd qw(realpath); use Cwd qw(realpath);
  
 my($scriptpath) = realpath($0);  my($cdir) = realpath($ENV{'PWD'});
 print STDOUT "make of JSOC $scriptpath\n";  print STDOUT "make of JSOC $cdir\n";
 system("date"); system("date");
  
 my($wd);  
 $wd = $scriptpath;  
   
 if ($wd =~ /(.+)\/\S+$/)  
 {  
     $wd = $1;  
 }  
 else  
 {  
     print STDERR "Invalid make_jsoc.pl path; bailing!\n";  
     exit(1);  
 }  
   
 chdir($wd);  
   
 # make clean # make clean
 # make -j 4 # make -j 4
  


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Karen Tian
Powered by
ViewCVS 0.9.4