Ouch ! Wrong file attached, here is the good one, sorry ^_^;
-- Bastien Mourgues http://www.newtech.fr/ mailto:[EMAIL PROTECTED] tel:+33561431493
--- /usr/bin/mb2md 2005-07-04 22:38:47.000000000 +0200
+++ /tmp/mb2md 2005-10-12 10:34:36.000000000 +0200
@@ -642,6 +642,7 @@
# Appending $oldpath => path is only missing $dest
$destinationdir = "$temppath.$destinationdir";
+ defined($strip_ext) && ($destinationdir =~ s/\_$strip_ext$//);
# Converting '/' to '.' in $destinationdir
$destinationdir =~s/\/+/\./g;
@@ -677,7 +678,7 @@
#
# if $strip_extension is defined,
# strip it off the $targetfile
- defined($strip_ext) && ($destinationdir =~ s/\.$strip_ext$//);
+# defined($strip_ext) && ($destinationdir =~ s/\_$strip_ext$//);
&convert("$mbroot/$oldpath/$dir","$dest/$destinationdir");
$mailboxcount++;
}
pgpoMpHfh5Tbk.pgp
Description: PGP signature

