simplify withas (for now)

This commit is contained in:
rocky
2024-03-06 17:19:57 -05:00
parent 33f49849f5
commit f1169af582
7 changed files with 34 additions and 23 deletions

View File

@@ -1,7 +1,12 @@
#!/bin/bash
# Run tests over all Python versions in branch python-3.0-3.2
set -e
function finish {
cd $owd
}
owd=$(pwd)
trap finish EXIT
cd $(dirname ${BASH_SOURCE[0]})
if ! source ./pyenv-3.0-3.2-versions ; then
@@ -23,4 +28,4 @@ for version in $PYVERSIONS; do
fi
echo === $version ===
done
cd $owd
finish