IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 9, 2009, 2:19:48 PM (17 years ago)
Author:
bills
Message:

Pass information about the paths from the distribution server to the client.
Use these to edit the database dump

File:
1 edited

Legend:

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

    r24104 r24125  
    9191    &my_die("dbinfo file for dist run $dbinfo_file not found", $dist_id, $prod_id, $PS_EXIT_UNKNOWN_ERROR);
    9292}
    93 print "dbinfo file $dbinfo_file exists\n";
     93print "dbinfo file $dbinfo_file exists\n" if $verbose;
     94
     95# make sure that the dirinfo file for this run exists
     96my $dirinfo_file = "dirinfo.$stage.$stage_id.mdc";
     97if (! -e "$dist_dir/$dirinfo_file" ) {
     98    &my_die("dirinfo file for dist run $dirinfo_file not found", $dist_id, $prod_id, $PS_EXIT_UNKNOWN_ERROR);
     99}
     100print "dirinfo file $dirinfo_file exists\n" if $verbose;
    94101
    95102# open the dsreg file list
     
    97104
    98105# add the dbinfo file to the list
    99 # XXX: change type from text to dbinfo once we descide on types
     106# XXX: change type from text to dbinfo and dirinfo once we define the types
    100107print $listFile "$dbinfo_file|||text|dbinfo|\n";
     108print $listFile "$dirinfo_file|||text|dirinfo|\n";
    101109
    102110my $components;
Note: See TracChangeset for help on using the changeset viewer.