Skip to content

Commit 827a5b9

Browse files
committed
Administrivia
1 parent 16e79c8 commit 827a5b9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

admin-tools/setup-python-2.4.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
#!/bin/bash
22
PYTHON_VERSION=2.4.6
33

4-
owd=$(pwd)
4+
spark_owd=$(pwd)
55
bs=${BASH_SOURCE[0]}
66
if [[ $0 == $bs ]] ; then
77
echo "This script should be *sourced* rather than run directly through bash"
88
exit 1
99
fi
1010
mydir=$(dirname $bs)
11-
fulldir=$(readlink -f $mydir)
12-
cd $fulldir/..
11+
cd $mydir/..
1312
git checkout python-2.4-to-2.7 && pyenv local $PYTHON_VERSION
14-
cd $owd
13+
cd $spark_owd

0 commit comments

Comments
 (0)