summaryrefslogtreecommitdiff
path: root/doc/makehtml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/makehtml')
-rwxr-xr-xdoc/makehtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/makehtml b/doc/makehtml
index 69e8e2b67..8a029132f 100755
--- a/doc/makehtml
+++ b/doc/makehtml
@@ -5,8 +5,8 @@
set -e
-TMPL=${1:-go_tutorial.tmpl} # input file
-HTML=$(basename $TMPL .tmpl).html # output file (basename)
+TMPL=${1:-go_tutorial.tmpl} # input file
+HTML=$(dirname $TMPL)/$(basename $TMPL .tmpl).html # output file
if ! test -w $HTML
then