IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38373 for trunk


Ignore:
Timestamp:
Jun 5, 2015, 9:00:20 AM (11 years ago)
Author:
bills
Message:

remove hardcoded path to croot in checkexp.
added the program croot

Location:
trunk/tools
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/checkexp

    r38089 r38373  
    2222my $dbname;
    2323
     24# this program must be in the path. There is one in the tools directory
     25my $croot = 'croot';
     26
    2427GetOptions(
    2528           'start|s=s'    => \$startDate,
    2629           'end|e=s'      => \$endDate,
    2730           'dbname|d=s'   => \$dbname,
     31           'camera=s'     => \$dbname,
    2832           'verbose|v'    => \$verbose,
    2933) or pod2usage( 0 );
     
    3539
    3640if (!$dbname) {
    37     my $dbname = "gpc1";
     41    $dbname = "gpc1";
    3842}
    3943
     
    6872
    6973print "Summit Copy and Registration Status\n\n";
    70 my $scode = system "~bills/bin/croot";
     74my $scode = system "$croot --camera $dbname";
    7175if ($scode) {
    7276    print STDERR "croot failed with $scode\n";
Note: See TracChangeset for help on using the changeset viewer.