summaryrefslogtreecommitdiffstats
path: root/tools/man2html.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/man2html.tcl')
-rw-r--r--tools/man2html.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/man2html.tcl b/tools/man2html.tcl
index cb60887..6f44aaa 100644
--- a/tools/man2html.tcl
+++ b/tools/man2html.tcl
@@ -75,7 +75,7 @@ proc footer {packages} {
# dir - Name of the directory.
proc doDir dir {
- foreach f [lsort [glob $dir/*.\[13n\]]] {
+ foreach f [lsort [glob -directory $dir "*.\[13n\]"]] {
do $f ;# defined in man2html1.tcl & man2html2.tcl
}
}