mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2024-11-23 13:09:49 +00:00
17 lines
479 B
Bash
Executable File
17 lines
479 B
Bash
Executable File
#!/bin/bash
|
|
PYTHON_VERSION=3.6.3
|
|
|
|
owd=$(pwd)
|
|
bs=${BASH_SOURCE[0]}
|
|
if [[ $0 == $bs ]] ; then
|
|
echo "This script should be *sourced* rather than run directly through bash"
|
|
exit 1
|
|
fi
|
|
mydir=$(dirname $bs)
|
|
fulldir=$(readlink -f $mydir)
|
|
cd $fulldir/..
|
|
(cd ../python-spark && git checkout master && pyenv local $PYTHON_VERSION) && \
|
|
(cd ../python-xdis && git checkout master && pyenv local $PYTHON_VERSION) && \
|
|
git checkout master && pyenv local $PYTHON_VERSION
|
|
cd $owd
|