]> granicus.if.org Git - python/commitdiff
Fix the fix to allow the .tex document sources not live in ".".
authorFred Drake <fdrake@acm.org>
Thu, 14 May 1998 20:36:49 +0000 (20:36 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 14 May 1998 20:36:49 +0000 (20:36 +0000)
Doc/tools/mkhowto.sh

index bf3a1a714f88457dfcc275941f3c5fbab74e1b96..851e1020e4d9cb6600d7d10767c4182a6eb04e9c 100755 (executable)
@@ -220,14 +220,15 @@ fi
 COMMONTEXINPUTS=$TOPDIR/texinputs:$TEXINPUTS
 
 for FILE in $@ ; do
+    FILEDIR=`dirname $FILE`
     FILE=`basename ${FILE%.tex}`
     #
     # Put the directory the .tex file is in is also the first directory in
     # TEXINPUTS, to allow files there to override files in the common area.
     #
-    FILEDIR=`dirname $FILE`
     TEXINPUTS=$FILEDIR:$COMMONTEXINPUTS
     export TEXINPUTS
+    echo TEXINPUTS is $TEXINPUTS
     #
     if [ "$BUILD_DVI" -o "$BUILD_PS" ] ; then
        build_dvi $FILE 2>&1 | tee -a $LOGFILE