IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13712


Ignore:
Timestamp:
Jun 7, 2007, 4:05:41 PM (19 years ago)
Author:
Paul Price
Message:

Fixing compilation problems.

File:
1 edited

Legend:

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

    r13698 r13712  
    8080
    8181# Identify the input and the template
    82 my $input, $inputMask;          # Input file and mask
    83 my $template, $templateMask;    # Template file and mask
     82my ($input, $inputPath);        # Input file and path
     83my ($template, $templatePath);  # Template file and path
    8484my $tess_id;                    # Tesselation identifier
    8585my $skycell_id;                 # Skycell identifier
     
    8888    if (defined $file->{template} and $file->{template}) {
    8989        $template = $file->{uri};
    90         $templateMask = $ipprc->filename("PSWARP.OUTPUT.MASK", $file->{path_base});
     90        $templatePath = $file->{path_base};
    9191    } else {
    9292        $input = $file->{uri};
    93         $inputMask = $ipprc->filename("PSWARP.OUTPUT.MASK", $file->{path_base});
     93        $inputPath = $file->{path_base};
    9494    }
    9595    if (defined $tess_id) {
     
    117117$ipprc->define_camera($camera);
    118118
     119my $templateMask = $ipprc->filename("PSWARP.OUTPUT.MASK", $templatePath);
     120my $inputMask = $ipprc->filename("PSWARP.OUTPUT.MASK", $inputPath);
     121
    119122&my_die("Couldn't find input: $template", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($template);
    120123&my_die("Couldn't find input: $templateMask", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($templateMask);
    121 &my_die("Couldn't find input: $nput", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($input);
    122 &my_die("Couldn't find input: $nputMask", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inputMask);
     124&my_die("Couldn't find input: $input", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($input);
     125&my_die("Couldn't find input: $inputMask", $diff_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($inputMask);
    123126
    124127# Get the output filenames
Note: See TracChangeset for help on using the changeset viewer.