Changeset 1412


Ignore:
Timestamp:
Feb 22, 2012, 12:16:12 AM (7 years ago)
Author:
bruno
Message:
  • In case formail is not found suggest to install procmail.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • projects/md2mb/devel/md2mb/bin/md2mb.pl

    r1391 r1412  
    2929    mkpath("$newroot",0, 0755) if ((not -d "$newroot") && (not $nrisfile));
    3030}
    31 system("$cmd </dev/null >/dev/null 2>/dev/null") == 0 or die "cannot find formail on your \$PATH!\nAborting";
     31system("$cmd </dev/null >/dev/null 2>/dev/null") == 0 or die "cannot find formail on your \$PATH!\nTry installing procmail\nAborting";
    3232
    3333find(\&md2mb,($oldroot));
     
    6262$destname =~ s|\.([^/]+)\.directory/|$1.sbd/|g;
    6363# Here we create the target dir and target name
    64 my $cdir = dirname("$newroot/$destname");
    6564my $outputfile="$newroot/$destname";
     65my $cdir = dirname("$outputfile");
    6666# Handle case where target file name is empty
    6767$outputfile="$newroot" if ($destname =~ /^\s*$/);
Note: See TracChangeset for help on using the changeset viewer.