summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-24 17:48:20 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-24 17:48:20 (GMT)
commitf558e3188e53f10a086f18c5dd5061bf009f0c7f (patch)
treeb6635b3789f89f86136895407c6bfb77524c707a /Doc/tools
parented5b3d8b3c8077c8c57c8a825cae06e319b0994d (diff)
downloadcpython-f558e3188e53f10a086f18c5dd5061bf009f0c7f.zip
cpython-f558e3188e53f10a086f18c5dd5061bf009f0c7f.tar.gz
cpython-f558e3188e53f10a086f18c5dd5061bf009f0c7f.tar.bz2
Make $MYDIR absolute -- bug reported by AMK.
Diffstat (limited to 'Doc/tools')
-rwxr-xr-xDoc/tools/mkhowto.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/tools/mkhowto.sh b/Doc/tools/mkhowto.sh
index 6b6bb96..e3a0b7f 100755
--- a/Doc/tools/mkhowto.sh
+++ b/Doc/tools/mkhowto.sh
@@ -1,6 +1,10 @@
#! /depot/gnu/plat/bin/bash
MYDIR=`dirname $0`
+WORKDIR=`pwd`
+cd $MYDIR
+MYDIR=`pwd`
+cd $WORKDIR
# DEFAULT_FORMAT must be upper case...
DEFAULT_FORMAT=PDF