]> granicus.if.org Git - python/commitdiff
In build_html(), strip off leading "./" from filename, added by
authorFred Drake <fdrake@acm.org>
Fri, 16 Oct 1998 17:34:34 +0000 (17:34 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 16 Oct 1998 17:34:34 +0000 (17:34 +0000)
kpsewhich.  This caused a problem with the latest latex2html beta.

Doc/tools/mkhowto.sh

index b85846bca266137d9a16ac39a1f10cb8eff28ae2..e53569b6dfa9914ec45c8574f7c8d869cce0e57d 100755 (executable)
@@ -78,6 +78,7 @@ MAX_SPLIT_DEPTH=6
 
 build_html() {
     TEXFILE=`kpsewhich $1.tex`
+    TEXFILE="${TEXFILE#./}"
     BUILDDIR=${2:-$1}
     latex2html \
      -init_file $L2H_INIT_FILE \