summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-05-14 20:36:49 (GMT)
committerFred Drake <fdrake@acm.org>1998-05-14 20:36:49 (GMT)
commitdf825a10fc66a0d037c5494b90f3b2bb33522d29 (patch)
treef14f460208a7c50ed3a051e29385ebd76919df79
parent25d4e2873cdfbaa934001ab6a9bec95053696fb0 (diff)
downloadcpython-df825a10fc66a0d037c5494b90f3b2bb33522d29.zip
cpython-df825a10fc66a0d037c5494b90f3b2bb33522d29.tar.gz
cpython-df825a10fc66a0d037c5494b90f3b2bb33522d29.tar.bz2
Fix the fix to allow the .tex document sources not live in ".".
-rwxr-xr-xDoc/tools/mkhowto.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/tools/mkhowto.sh b/Doc/tools/mkhowto.sh
index bf3a1a7..851e102 100755
--- a/Doc/tools/mkhowto.sh
+++ b/Doc/tools/mkhowto.sh
@@ -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