]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Make $MYDIR absolute -- bug reported by AMK.
authorFred Drake <fdrake@acm.org>
Tue, 24 Mar 1998 17:48:20 +0000 (17:48 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 24 Mar 1998 17:48:20 +0000 (17:48 +0000)
Doc/tools/mkhowto.sh

index 6b6bb962c61471e6fd5b5f8ae060ea197405ed4d..e3a0b7f4cf88610949bd941d07c8bd1dabb6b4fd 100755 (executable)
@@ -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