Administrivia

This commit is contained in:
rocky
2017-10-12 07:19:46 -04:00
parent d3a42ff992
commit 3f309cebab
2 changed files with 6 additions and 4 deletions

View File

@@ -5,10 +5,11 @@ PACKAGE=uncompyle6
function finish {
cd $owd
}
cd $(dirname ${BASH_SOURCE[0]})
owd=$(pwd)
trap finish EXIT
cd $(dirname ${BASH_SOURCE[0]})
if ! source ./pyenv-newer-versions ; then
exit $?
fi

View File

@@ -16,7 +16,8 @@ if ! source ./setup-python-2.4.sh ; then
exit $?
fi
source ../$PACKAGE/version.py
cd ..
source $PACKAGE/version.py
echo $VERSION
for pyversion in $PYVERSIONS; do
@@ -33,6 +34,6 @@ done
# the tarball from master.
tarball=dist/uncompyle6-$VERSION-tar.gz
if -f $tarball; then
if [[ -f $tarball ]]; then
rm -v dist/uncompyle6-$VERSION-tar.gz
fi