- Timestamp:
- Jan 2, 2012, 10:23:01 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/tools/repair_bad_instance (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/repair_bad_instance
r33036 r33041 74 74 } 75 75 76 my $fixed = 0; 76 77 if ($good_instance) { 77 78 foreach my $bad (@bad_instances) { 78 79 my $cmd = "cp $good_instance $bad"; 79 80 print " $cmd\n"; 80 system $cmd if $go; 81 if ($go) { 82 system $cmd; 83 $fixed = 1; 84 } 81 85 } 82 86 } else { … … 84 88 my $cmd = "regtool -updateprocessedimfile -set_ignored -exp_id $exp_id -class_id $class_id\n"; 85 89 print "$cmd\n"; 86 system $cmd if $go; 90 if ($go) { 91 $fixed = 1; 92 system $cmd; 93 } 94 } 95 96 if ($fixed) { 97 my $cmd = "chiptool -revertprocessedimfile -exp_id $exp_id"; 98 print "$cmd\n"; 99 system $cmd; 87 100 } 88 101
Note:
See TracChangeset
for help on using the changeset viewer.
