IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36691 for trunk/ippScripts


Ignore:
Timestamp:
Apr 22, 2014, 3:59:08 PM (12 years ago)
Author:
watersc1
Message:

Update to ensure WS diffs are cleaned automatically with the diffs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/nightly_science.pl

    r36051 r36691  
    18991899            }
    19001900            my ($cleaning_date,$command) = construct_cleantool_args($date,$target,$mode);
     1901
    19011902            if ($cleaning_date eq 'no clean') {
    19021903                next;
     
    19131914                add_to_macro_list('clean_old',1,$date,$target,$mode);
    19141915            }
     1916            if ($mode eq 'DIFF') {
     1917                my $WS_command = $command;
     1918                $WS_command =~ s/$target/${target}.WS/;
     1919                print STDERR "$WS_command\n";
     1920                if (!(defined($pretend) || $debug == 1)) {
     1921                   
     1922                    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     1923                        run ( command => $WS_command, verbose => $verbose );
     1924                    unless ($success) {
     1925                        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
     1926                        &my_die("Unable to perform cleantool ($WS_command): $error_code", 0,0,$date, $PS_EXIT_SYS_ERROR);
     1927                    }
     1928                }
     1929            }
     1930
    19151931        }
    19161932    }
Note: See TracChangeset for help on using the changeset viewer.