Changeset 23192

Show
Ignore:
Timestamp:
21.10.2010 10:24:00 (9 years ago)
Author:
davidb
Message:

Printing in GS scripts should go to STDERR

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/incremental-rebuild.pl

    r20925 r23192  
    9696    } 
    9797 
    98     print "\n"; 
    99     print "************************\n"; 
    100     print "* Running  Import  Stage\n"; 
    101     print "************************\n"; 
     98    print STDERR "\n"; 
     99    print STDERR "************************\n"; 
     100    print STDERR "* Running  Import  Stage\n"; 
     101    print STDERR "************************\n"; 
    102102     
    103103    my $import_cmd = $launch_cmd . "incremental-import.pl $quoted_import_argv \"$collect\""; 
    104      
     104 
     105    print STDERR "***** import cmd = $import_cmd\n"; 
     106 
    105107    my $import_status = system($import_cmd)/256; 
    106108     
    107109    if ($import_status == 0) { 
    108     print "\n"; 
    109     print "************************\n"; 
    110     print "* Running Buildcol Stage\n"; 
    111     print "************************\n"; 
     110    print STDERR "\n"; 
     111    print STDERR "************************\n"; 
     112    print STDERR "* Running Buildcol Stage\n"; 
     113    print STDERR "************************\n"; 
    112114     
    113115