- Timestamp:
- May 15, 2018, 11:04:31 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/ipp_filename.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_filename.pl
r32803 r40431 10 10 #print "$ENV{'PATH'}\n"; 11 11 #print "$ENV{'PERL5LIB'}\n"; 12 #print "NEB_SERVER: $ENV{'NEB_SERVER'}<br>\n"; 12 13 13 # CZW: This is a horrible hack, but I don't want to have to debug all of ippMonitor to figure out why it's not working.14 # EAM: check for missing NEB_SERVER and exit with an error 14 15 unless (defined($ENV{'NEB_SERVER'})) { 15 $ENV{'NEB_SERVER'} = 'http://nebserver.ipp.ifa.hawaii.edu:80/nebulous'; 16 print "NEB_SERVER not defined in ipp_filename.pl\n"; 17 exit (5); 16 18 } 17 19 if ($ENV{'NEB_SERVER'} eq "") { 20 print "NEB_SERVER not set in ipp_filename.pl\n"; 21 exit (6); 22 } 18 23 19 24 use PS::IPP::Config; … … 52 57 53 58 my $realname = $ipprc->file_resolve( $filename, $touch ); 59 if (not defined $realname) { 60 print "nebulous file $filename not found\n"; 61 exit (1); 62 } 63 54 64 print "$realname\n"; 55 65
Note:
See TracChangeset
for help on using the changeset viewer.
