diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-08-21 15:40:11 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-08-21 15:40:11 +0300 |
commit | a928def5ed6fff777d32a19c635274aa33635655 (patch) | |
tree | f7175ff77729366c6876f0c2378fd69eea34496c | |
parent | d5a7bec01733d3fa72578a1a01c8e9d62252847b (diff) | |
download | mansrv-a928def5ed6fff777d32a19c635274aa33635655.tar.gz mansrv-a928def5ed6fff777d32a19c635274aa33635655.tar.bz2 |
Fix chachefile name.
-rwxr-xr-x | mansrv | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -202,12 +202,14 @@ unless ($file) { chomp $file; push @deps, $file; # Split the name and determine the root mandir my ($manfile, $mandir) = fileparse($file); $mandir =~ s/\/man[1-8n]//; +$manfile =~ s/^(.*\.[1-8n])\..*/$1/; +$manfile .= ".html"; if (! -d $cachedir) { mkdir($cachedir,0755) or syserror("mkdir $cachedir: $!"); } $cachedir .= "/cat$ARGV[0]"; if (! -d $cachedir) { |