IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33523 for trunk


Ignore:
Timestamp:
Mar 14, 2012, 9:37:21 AM (14 years ago)
Author:
bills
Message:

make sure we can find ds9 unless --no-display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/dlapstacks

    r33522 r33523  
    6868my $missing_tools;
    6969my $ppstamp;
     70my $ds9;
    7071if ($deasin) {
    7172    $ppstamp = can_run('ppstamp') or (warn "Can't find ppstamp") and $missing_tools = 1;
     73}
     74if (!$no_display) {
     75    $ds9 = can_run('ds9') or (warn "Can't find ds9") and $missing_tools = 1;
    7276}
    7377if ($missing_tools) {
     
    263267        push @args, $filename;
    264268    }
    265     my $ds9cmd = "ds9 -geom 1024x1024 @args $panargs";
     269    my $ds9cmd = "$ds9 -geom 1024x1024 @args $panargs";
    266270    $ds9cmd .= " -single" if $singleframe;
    267271    $ds9cmd .= " -zoom to fit" if $fitToFrame;
Note: See TracChangeset for help on using the changeset viewer.