comparison tests/run-tests @ 2163:278f9b13c39a

SunOS fix: Replaced $PWD with `pwd` under certain conditioins $PWD isn't up to date, observed on SunOS 5.8
author Sascha Wilde <wilde@sha-bang.de>
date Sun, 30 Apr 2006 19:29:57 +0200
parents 15ec724ba351
children a56fc34d6e23
comparison
equal deleted inserted replaced
2162:dac432a521d8 2163:278f9b13c39a
62 (umask 077 && mkdir "$HGTMP") || { 62 (umask 077 && mkdir "$HGTMP") || {
63 echo "Could not create temporary directory! Exiting." 1>&2 63 echo "Could not create temporary directory! Exiting." 1>&2
64 exit 1 64 exit 1
65 } 65 }
66 66
67 TESTDIR="$PWD" 67 TESTDIR="`pwd`"
68 export TESTDIR 68 export TESTDIR
69 INST="$HGTMP/install" 69 INST="$HGTMP/install"
70 PYTHONDIR="$INST/lib/python" 70 PYTHONDIR="$INST/lib/python"
71 cd .. 71 cd ..
72 if ${PYTHON-python} setup.py install --home="$INST" \ 72 if ${PYTHON-python} setup.py install --home="$INST" \