Changeset 33064
- Timestamp:
- Jan 9, 2012, 5:53:11 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/tools/repair_bad_instance (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/repair_bad_instance
r33041 r33064 11 11 use PS::IPP::Config 1.01 qw( :standard ); 12 12 13 my $dbname = 'gpc1'; 14 13 15 14 16 my ( $exp_id, … … 17 19 $go, 18 20 ); 19 my $dbname ='gpc1';20 21 21 22 # the char to the right of the bar may be used as a single - alias for the longer name … … 24 25 'exp_id|e=s' => \$exp_id, 25 26 'class_id|c=s' => \$class_id, 26 'repair '=> \$go,27 'repair|r' => \$go, 27 28 'pretend' => \$pretend, 28 29 ) or pod2usage( 2 ); … … 86 87 } else { 87 88 print "No good instances of $uri found. To fix run:\n"; 88 my $cmd = "regtool - updateprocessedimfile -set_ignored -exp_id $exp_id -class_id $class_id\n";89 my $cmd = "regtool -dbname $dbname -updateprocessedimfile -set_ignored -exp_id $exp_id -class_id $class_id\n"; 89 90 print "$cmd\n"; 90 91 if ($go) { … … 95 96 96 97 if ($fixed) { 97 my $cmd = "chiptool - revertprocessedimfile -exp_id $exp_id";98 my $cmd = "chiptool -dbname $dbname -revertprocessedimfile -exp_id $exp_id"; 98 99 print "$cmd\n"; 99 100 system $cmd;
Note:
See TracChangeset
for help on using the changeset viewer.
