Changeset 34485 for trunk/ippScripts/scripts/publish_file.pl
- Timestamp:
- Sep 27, 2012, 1:27:02 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/publish_file.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/publish_file.pl
r34482 r34485 63 63 'redirect-output' => \$redirect, # Redirect output to log file? 64 64 'output_format=i' => \$output_format, # Output format for ppMops 65 'difftype=s' => \$difftype, # "WW" / "WS" / "SW"66 65 ) or pod2usage( 2 ); 67 66 … … 224 223 &my_die("Unable to parse metadata list", $pub_id, $PS_EXIT_PROG_ERROR); 225 224 my $reg_comp = $$reg_components[0]; 225 226 # Now get the difftype value from diff->{diff_mode} 227 my $difftype = ""; 228 if ($comp->{diff_mode} == 1) { 229 $difftype = "WW"; 230 } elsif ($comp->{diff_mode} == 2) { 231 $difftype = "WS"; 232 } elsif ($comp->{diff_mode} == 3) { 233 $difftype = "SW"; # Not used yet 234 } elsif ($comp->{diff_mode} == 4) { 235 $difftype = "SS"; 236 } else { 237 $difftype = "Unsupported diff_mode value: [" . $comp->{diff_mode} . "]"; 238 } 226 239 227 240 my $data = { zp => $zp,
Note:
See TracChangeset
for help on using the changeset viewer.
