Changeset 21435
- Timestamp:
- Feb 10, 2009, 11:05:52 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/magic_destreak.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/magic_destreak.pl
r21371 r21435 32 32 my ($replace, $remove, $release); 33 33 my ($dbname, $save_temps, $verbose, $no_update, $no_op, $logfile); 34 35 # XXX: remove this36 $release = 1;37 34 38 35 GetOptions( … … 104 101 105 102 # 106 # parse the replace and remove arguments check for errors and set up t103 # parse the replace and remove arguments check for errors and set up 107 104 # the appropriate paths 108 if (defined($replace) and ($replace eq "F")) { 105 if (defined($replace) and ($replace eq "T")) { 106 $replace = 1; 107 } else { 109 108 $replace = 0; 110 109 } … … 115 114 } 116 115 117 if (defined($remove) and ($remove eq "F")) { 116 if (defined($remove) and ($remove eq "T")) { 117 $remove = 1; 118 } else { 118 119 $remove = 0; 119 120 } … … 203 204 my $command = "$streaksremove -stage $stage -tmproot $outroot -streaks $streaks -image $image"; 204 205 205 $command .= " -release" if $release;206 207 206 $command .= " -class_id $class_id" if defined $class_id; 208 207 $command .= " -recovery $recoveryroot" if defined $recoveryroot; … … 212 211 $command .= " -weight $weight" if defined $weight; 213 212 $command .= " -skycelllist $skycell_list" if defined $skycell_list; 213 $command .= " -replace" if $replace; 214 $command .= " -remove" if $remove; 215 $command .= " -release" if $release; 214 216 $command .= " -dbname $dbname" if defined $dbname; 215 217 unless (defined $no_op) { … … 232 234 $command .= " -magic_ds_id $magic_ds_id"; 233 235 $command .= " -component $component"; 236 $command .= " -setmagicked" if $replace; 234 237 $command .= " -backup_path_base $backup_path_base" if $backup_path_base; 235 238 $command .= " -recovery_path_base $recovery_path_base" if $recovery_path_base;
Note:
See TracChangeset
for help on using the changeset viewer.
