IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34477 for trunk


Ignore:
Timestamp:
Sep 26, 2012, 3:41:25 PM (14 years ago)
Author:
Serge CHASTEL
Message:

ppMops new parameters / bug fix - testing

File:
1 edited

Legend:

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

    r34476 r34477  
    7474    defined $stage and
    7575    defined $stage_id and
    76     defined $workdir;
     76    defined $workdir and
     77    defined $dbname;
    7778
    7879my $outroot = "$workdir/$product.$pub_id"; # Output root name
     
    155156    }
    156157    $command .= " -dbname $dbname" if defined $dbname;
    157     warn("\n");
    158     warn("$command\n");
    159     warn("\n");
    160158    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    161159        run(command => $command, verbose => $verbose);
     
    366364    &my_die("diff_id value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{diff_id} and $comp->{diff_id} != $data->{diff_id};
    367365    &my_die("direction value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{direction} and $comp->{direction} != $data->{direction};
    368     &my_die("comment value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{comment} and $comp->{comment} != $data->{comment};
    369     &my_die("obsmode value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{obsmode} and $comp->{obsmode} != $data->{obsmode};
    370     &my_die("difftype value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{difftype} and $comp->{difftype} != $data->{difftype};
     366    &my_die("comment value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{comment} and $comp->{comment} ne $data->{comment};
     367    &my_die("obsmode value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{obsmode} and $comp->{obsmode} ne $data->{obsmode};
     368    &my_die("difftype value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{difftype} and $comp->{difftype} ne $data->{difftype};
    371369    &my_die("sky value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{sky} and $comp->{sky} != $data->{sky};
    372     &my_die("shutoutc value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{shutoutc} and $comp->{shutoutc} != $data->{shutoutc};
     370    &my_die("shutoutc value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{shutoutc} and $comp->{shutoutc} ne $data->{shutoutc};
    373371
    374372    return 1;
Note: See TracChangeset for help on using the changeset viewer.