Bonjour,

une petite correction.

changelog:
version 0.1.5
  - bug fix:
    - change: spelling in `usage' message
    - change: old file name when parsing descriptions to review so it really
      set the review as ok automatically

La rustine est jointe, le script complet n'a pas bougé :
http://perso.wanadoo.fr/nico.bertol/ddts/ddts-script.txt

a+

Nicolas
-- 
--- ddts-script_0.1.4.txt       Mon Nov 19 01:09:08 2001
+++ ddts-script_0.1.5.txt       Fri Nov 23 11:49:13 2001
@@ -208,7 +208,7 @@
 
 =cut
 
-my $version = "0.1.4";
+my $version = "0.1.5";
 
 # Test if configuration as been made
 if (! -d $tr_dir) {
@@ -695,7 +695,7 @@
 
        &write_file("$rev_dir/$package", $todo);
 
-       if (-e "$rev_dir/$package.$rev_e.$old_e") {
+       if (-e "$rev_dir/$package.$old_e") {
                my $old_desc = &get_description("$rev_dir/$package.$old_e");
                if ($old_desc eq $description) {
                        my $original = &uncomment($translation,                 
                "# |$comment");
@@ -1240,7 +1240,7 @@
           ."  -s               mail also to oneself\n"
           ."  -n               no mail to oneself\n"
           ."      --mail-self  mail also to oneself if `yes', don't if `no'\n"
-          ."in order of appearence, last option override previous one if 
incompatible\n"
+          ."in order of appearence, last option overrides previous one if 
incompatible\n"
           ."\n"
           ."$me version $version\n";
 }

Répondre à