- Timestamp:
- Oct 2, 2009, 12:03:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/ippScripts/scripts/dist_make_fileset.pl
r25624 r25744 40 40 # Parse the command-line arguments 41 41 my ($dist_id, $dist_dir, $target_id, $stage, $stage_id, $dest_id, $product_name, $ds_dbhost, $ds_dbname); 42 my ($label, $filter); 42 43 my ($dbname, $save_temps, $verbose, $no_update, $logfile); 43 44 … … 50 51 'dest_id=s' => \$dest_id, # id for the product 51 52 'product_name=s' => \$product_name, # location of the data store directory for this product 53 'label=s' => \$label, 54 'filter=s' => \$filter, 52 55 'ds_dbhost=s' => \$ds_dbhost, # database host for the datastore database 53 56 'ds_dbname=s' => \$ds_dbname, # database name for the datastore database … … 60 63 61 64 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 62 pod2usage( -msg => "Required options: --dist_id --dist_dir --target_id --stage --stage_id -- dest_id --ds_dbhost --ds_dbname",65 pod2usage( -msg => "Required options: --dist_id --dist_dir --target_id --stage --stage_id --label --filter --dest_id --ds_dbhost --ds_dbname", 63 66 -exitval => 3) unless 64 67 defined $dist_id and … … 67 70 defined $stage and 68 71 defined $stage_id and 72 defined $label and 73 defined $filter and 69 74 defined $dest_id and 70 75 defined $product_name and … … 147 152 148 153 { 149 # XXX: need to chose an appropriate file set type 150 my $command = "$dsreg --add $fileset_name --product $product_name --type notset --list $listFileName"; 154 my $command = "$dsreg --add $fileset_name --product $product_name --type IPP-DIST --list $listFileName"; 151 155 152 156 # the data store will refer to the distribution bundle via symlinks back to distRun.outdir … … 157 161 158 162 $command .= " --ps0 $target_id --ps1 $stage --ps2 $stage_id --ps3 $prod_col_3"; 159 160 $command .= " --dbname $ds_dbname"; # XXX: notyet --dbhost $ds_dbhost 163 $command .= " --ps4 $label --ps5 $filter"; 164 165 $command .= " --dbname $ds_dbname --dbhost $ds_dbhost"; 161 166 162 167 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note:
See TracChangeset
for help on using the changeset viewer.
