Changeset 1412 in ProjectBuilder for projects/md2mb
- Timestamp:
- Feb 22, 2012, 12:16:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
projects/md2mb/devel/md2mb/bin/md2mb.pl
r1391 r1412 29 29 mkpath("$newroot",0, 0755) if ((not -d "$newroot") && (not $nrisfile)); 30 30 } 31 system("$cmd </dev/null >/dev/null 2>/dev/null") == 0 or die "cannot find formail on your \$PATH!\n Aborting";31 system("$cmd </dev/null >/dev/null 2>/dev/null") == 0 or die "cannot find formail on your \$PATH!\nTry installing procmail\nAborting"; 32 32 33 33 find(\&md2mb,($oldroot)); … … 62 62 $destname =~ s|\.([^/]+)\.directory/|$1.sbd/|g; 63 63 # Here we create the target dir and target name 64 my $cdir = dirname("$newroot/$destname");65 64 my $outputfile="$newroot/$destname"; 65 my $cdir = dirname("$outputfile"); 66 66 # Handle case where target file name is empty 67 67 $outputfile="$newroot" if ($destname =~ /^\s*$/);
Note:
See TracChangeset
for help on using the changeset viewer.