Changeset 27718 for trunk/ippScripts/scripts/dist_make_fileset.pl
- Timestamp:
- Apr 21, 2010, 11:35:15 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/dist_make_fileset.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/dist_make_fileset.pl
r27014 r27718 8 8 use Sys::Hostname; 9 9 my $host = hostname(); 10 my $date = `date`; 10 11 print "\n\n"; 11 print "Starting script $0 on $host \n\n";12 print "Starting script $0 on $host at $date\n\n"; 12 13 13 14 use vars qw( $VERSION ); … … 46 47 'dist_id=s' => \$dist_id, # distribution run identifier 47 48 'dist_dir=s' => \$dist_dir, # directory containing dist run outputs 48 'target_id=s' => \$target_id, # 49 'target_id=s' => \$target_id, # 49 50 'stage=s' => \$stage, # raw, chip, camera, fake, warp, stack, or diff 50 51 'stage_id=s' => \$stage_id, # exp_id, chip_id, etc. … … 209 210 my $dsn = "DBI:mysql:host=$dbserver;database=$dbname"; 210 211 211 my $dbh = DBI->connect($dsn, $dbuser, $dbpassword) 212 my $dbh = DBI->connect($dsn, $dbuser, $dbpassword) 212 213 or die "Cannot connect to database.\n"; 213 214 … … 227 228 228 229 # 229 # we are a long ways away from the rawExp in the pipeline. Rather than do some 230 # we are a long ways away from the rawExp in the pipeline. Rather than do some 230 231 # very long joins in disttool, we look up the exp_name in the database using DBI 231 232 # 232 233 my $dbh = getDBHandle($ipprc, $dbname); 233 234 234 my $query; 235 my $query; 235 236 236 237 if ($stage eq 'raw') {
Note:
See TracChangeset
for help on using the changeset viewer.
