Changeset 28907
- Timestamp:
- Aug 12, 2010, 3:44:01 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/perl/ippToPsps_run.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/perl/ippToPsps_run.pl
r28895 r28907 188 188 # generate batch path from batch IDs 189 189 my $batch = sprintf("B%08d", $batchId); 190 my $batchDir = sprintf("$output/$batch"); 190 my $dvoDir = "$output/$dvoDb"; 191 my $batchDir = "$dvoDir/$batch"; 192 193 # make directories 194 unless(-d $dvoDir) {mkdir($dvoDir, 0777);} 191 195 mkdir($batchDir, 0777); 196 192 197 $published = 0; 193 198 … … 203 208 if (writeBatchManifest($batchDir, $batch, $batchType, $surveyType, $filename, $minObjId, $maxObjId)) { 204 209 210 # tar n' zip 205 211 if (!$dontTarNZip) { 206 my $tarball = tarAndZipBatch($output, $batch); 212 my $tarball = tarAndZipBatch($dvoDir, $batch); 213 214 # and publish 207 215 if ($tarball && defined $datastore ) { 208 216 209 $published = $datastore->register($batch, $ output, $tarball, "IPP_PSPS", "tgz");217 $published = $datastore->register($batch, $dvoDir, $tarball, "IPP_PSPS", "tgz"); 210 218 } 211 219 }
Note:
See TracChangeset
for help on using the changeset viewer.
