my $parent = "$link_dir/$prefix";
mkpath($parent, { verbose => 1 });
die "mkpath: $parent: $!" unless -d $parent;
- return "$parent/$prefix/$suffix";
+ return "$parent/$suffix";
}
# ext3 cannot handle more than 32000 links to a file. Leave some headroom.