update location of addrbook sub-folder in address conversion scripts
[claws.git] / tools / outlook2claws-mail.pl
index 67bc3ebebe6a557a5e96f79d3c9202ee52ad2812..b0d703a13b40b6f57dee5d1c34e5a3b04bd7df52 100755 (executable)
@@ -41,7 +41,7 @@ else {
        $outl_file = $ARGV[0];
 }
 # some init
-$clawsconf = ".claws-mail";
+$clawsconf = ".claws-mail/addrbook";
 $indexname = "$clawsconf/addrbook--index.xml";
 
 # the next is mostly Paul's code
@@ -190,7 +190,7 @@ if ($do_csv) {
                unless ($#headerline == $nboffields);
 }
 open(NEWB, '>', "$clawsconf/$new_book") 
-       or die "Error: can't open $clawsconf/$new_book for writting\n";
+       or die "Error: can't open $clawsconf/$new_book for writing\n";
 if ($do_csv) { process_csv(); }
 else { process_text(); }
 
@@ -211,7 +211,7 @@ foreach $index_line (@index_file) {
        }
 }
 open (INDX, '>', $indexname)
-       or die "Error: can't open $indexname for writting\n";
+       or die "Error: can't open $indexname for writing\n";
 print INDX "$new_index";
 close INDX;