aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-08-21 15:40:11 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-08-21 15:40:11 +0300
commita928def5ed6fff777d32a19c635274aa33635655 (patch)
treef7175ff77729366c6876f0c2378fd69eea34496c
parentd5a7bec01733d3fa72578a1a01c8e9d62252847b (diff)
downloadmansrv-a928def5ed6fff777d32a19c635274aa33635655.tar.gz
mansrv-a928def5ed6fff777d32a19c635274aa33635655.tar.bz2
Fix chachefile name.
-rwxr-xr-xmansrv2
1 files changed, 2 insertions, 0 deletions
diff --git a/mansrv b/mansrv
index 100df80..f05fedb 100755
--- a/mansrv
+++ b/mansrv
@@ -205,6 +205,8 @@ push @deps, $file;
205# Split the name and determine the root mandir 205# Split the name and determine the root mandir
206my ($manfile, $mandir) = fileparse($file); 206my ($manfile, $mandir) = fileparse($file);
207$mandir =~ s/\/man[1-8n]//; 207$mandir =~ s/\/man[1-8n]//;
208$manfile =~ s/^(.*\.[1-8n])\..*/$1/;
209$manfile .= ".html";
208 210
209if (! -d $cachedir) { 211if (! -d $cachedir) {
210 mkdir($cachedir,0755) or syserror("mkdir $cachedir: $!"); 212 mkdir($cachedir,0755) or syserror("mkdir $cachedir: $!");

Return to:

Send suggestions and report system problems to the System administrator.