Changeset 26015 for trunk/ippScripts/scripts/dist_make_fileset.pl
- Timestamp:
- Nov 3, 2009, 1:02:08 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/dist_make_fileset.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/dist_make_fileset.pl
r25850 r26015 53 53 'label=s' => \$label, 54 54 'dist_group=s' => \$dist_group, 55 'filter=s' => \$filter,55 'filter=s' => \$filter, 56 56 'ds_dbhost=s' => \$ds_dbhost, # database host for the datastore database 57 57 'ds_dbname=s' => \$ds_dbname, # database name for the datastore database … … 94 94 95 95 # make sure that the database info file for this run exists 96 my $dbinfo_file = " dbinfo.$stage.$stage_id.mdc";97 if (! -e "$d ist_dir/$dbinfo_file" ) {96 my $dbinfo_file = "$dist_dir/dbinfo.$stage.$stage_id.mdc"; 97 if (! -e "$dbinfo_file" ) { 98 98 &my_die("dbinfo file for dist run $dbinfo_file not found", $dist_id, $dest_id, $PS_EXIT_UNKNOWN_ERROR); 99 99 } … … 101 101 102 102 # make sure that the dirinfo file for this run exists 103 my $dirinfo_file = " dirinfo.$stage.$stage_id.mdc";104 if (! -e "$di st_dir/$dirinfo_file" ) {103 my $dirinfo_file = "$dist_dir/dirinfo.$stage.$stage_id.mdc"; 104 if (! -e "$dirinfo_file" ) { 105 105 &my_die("dirinfo file for dist run $dirinfo_file not found", $dist_id, $dest_id, $PS_EXIT_UNKNOWN_ERROR); 106 106 } … … 142 142 my $md5sum = $component->{md5sum}; 143 143 # name of the file 144 my $ name = $component->{name};144 my $file_name = $component->{name}; 145 145 # component id (class_is or skycell_id) 146 my $comp_dir = $component->{outdir}; 146 147 my $comp_name = $component->{component}; 147 148 148 149 # XXX: if tarfile is not always the right type we need to add a type to distComponent 149 print $listFile "$ name|$size|$md5sum|tgz|$comp_name|\n";150 print $listFile "$comp_dir/$file_name|$size|$md5sum|tgz|$comp_name|\n"; 150 151 } 151 152 … … 156 157 157 158 # the data store will refer to the distribution bundle via symlinks back to distRun.outdir 158 $command .= " --datapath $dist_dir --link"; 159 # $command .= " --datapath $dist_dir --link"; 160 $command .= " --abspath --link"; 159 161 160 162 # set the product specific columns in product list
Note:
See TracChangeset
for help on using the changeset viewer.
