You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 08:49:51 +08:00
Start older-python testing
This commit is contained in:
@@ -14,7 +14,24 @@ function displaytime {
|
|||||||
printf '%d seconds\n' $S
|
printf '%d seconds\n' $S
|
||||||
}
|
}
|
||||||
|
|
||||||
. ../../admin-tools/pyenv-newer-versions
|
bs=${BASH_SOURCE[0]}
|
||||||
|
if [[ $0 != $bs ]] ; then
|
||||||
|
echo "This script should not be *sourced* but run through bash"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
mydir=$(dirname $bs)
|
||||||
|
chdir $mydir
|
||||||
|
|
||||||
|
branch=$(cat ../../.git/HEAD | cut -d'/' -f 3)
|
||||||
|
if [[ $branch == 'python-2.4' ]]; then
|
||||||
|
. ../../admin-tools/pyenv-older-versions
|
||||||
|
elif [[ $branch == 'master' ]]; then
|
||||||
|
. ../../admin-tools/pyenv-newer-versions
|
||||||
|
else
|
||||||
|
echo &1>2 "Error git branch should either be 'master' or 'python-2.4'; got: '$branch'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
USER=${USER:-rocky}
|
USER=${USER:-rocky}
|
||||||
EMAIL=${EMAIL:-rb@dustyfeet.com}
|
EMAIL=${EMAIL:-rb@dustyfeet.com}
|
||||||
|
Reference in New Issue
Block a user