summaryrefslogtreecommitdiff
blob: 58c62a83219855ced86ce24c7e575c2bac664384 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- man-1.5l/man2html/scripts/cgi-bin/man/manwhatis	2002-07-17 15:20:42.000000000 +0100
+++ man/man2html/scripts/cgi-bin/man/manwhatis	2003-09-28 02:50:49.000000000 +0100
@@ -100,9 +100,10 @@
     $1 = $1 ":";
     gsub(":", " ", $1); 
 
-    find_cmd = "find " man_path " -maxdepth 1 -name whatis -printf '%p '";
-    find_cmd | getline whatis_files;
-    close(find_cmd);
+    # find_cmd = "find " man_path " -maxdepth 1 -name whatis -printf '%p '";
+    # find_cmd | getline whatis_files;
+    # close(find_cmd);
+    whatis_files = "/var/cache/man/whatis";
 
     if (whatis_files == "") {
       print "Content-type: text/html\n\n";