IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 15, 2008, 9:57:30 AM (18 years ago)
Author:
bills
Message:

adapt to changes in dsreg

File:
1 edited

Legend:

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

    r18150 r18536  
    106106    }
    107107
    108     print $dsFile "${output}|ipp-mops\n";
     108    # format: filename|filesize|md5sum|filetype| 
     109    # note: since we omit filesize and md5sum, dsreg will calculate them
     110    print $dsFile "${output}|||ipp-mops|\n";
    109111}
    110112close $dsFile;
     
    112114# Register new files with the data store
    113115unless ($no_update) {
    114     my $command = "$dsreg --add --product mops_transient_detections --type MOPS_TRANSIENT_DETECTIONS --fileset $fileset --list $dsName --copy --abspath --dbname DataStore";
     116    my $command = "$dsreg --add $fileset --product mops_transient_detections --type MOPS_TRANSIENT_DETECTIONS --list $dsName --copy --abspath --dbname DataStore";
    115117    my $success = run( command => $command, verbose => $verbose );
    116118    die "Couldn't register files with data store.\n" unless $success;
Note: See TracChangeset for help on using the changeset viewer.