File tree Expand file tree Collapse file tree 5 files changed +5
-21
lines changed Expand file tree Collapse file tree 5 files changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
5
5
echo " This script should be *sourced* rather than run directly through bash"
6
6
exit 1
7
7
fi
8
- export PYVERSIONS=' 3.6.15 pypy3.6-7.3.1 3.7.16 pypy3.7-7.3.9 pypy3.8-7.3.10 pyston-2.3.5 3.8.17 '
8
+ export PYVERSIONS=' 3.6.15 pypy3.6-7.3.1 3.7.16 pypy3.7-7.3.9 pypy3.8-7.3.10 pyston-2.3.5 3.8.18 '
Original file line number Diff line number Diff line change @@ -18,12 +18,7 @@ function checkout_version {
18
18
return $?
19
19
}
20
20
21
- # FIXME put some of the below in a common routine
22
- function finish {
23
- cd $owd
24
- }
25
21
owd=$( pwd)
26
- trap finish EXIT
27
22
28
23
export PATH=$HOME /.pyenv/bin/pyenv:$PATH
29
24
@@ -35,4 +30,4 @@ cd $fulldir/..
35
30
36
31
git pull
37
32
rm -v * /.python-version || true
38
- finish
33
+ cd $owd
Original file line number Diff line number Diff line change @@ -19,11 +19,7 @@ function checkout_version {
19
19
return $?
20
20
}
21
21
22
- function finish {
23
- cd $owd
24
- }
25
22
owd=$( pwd)
26
- trap finish EXIT
27
23
28
24
export PATH=$HOME /.pyenv/bin/pyenv:$PATH
29
25
@@ -34,4 +30,4 @@ fulldir=$(readlink -f $mydir)
34
30
35
31
git pull
36
32
rm -v * /.python-version || true
37
- finish
33
+ cd $owd
Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ function checkout_version {
20
20
return $?
21
21
}
22
22
23
- function finish {
24
- cd $owd
25
- }
26
23
owd=$( pwd)
27
24
trap finish EXIT
28
25
@@ -36,4 +33,4 @@ cd $fulldir/..
36
33
37
34
git pull
38
35
rm -v * /.python-version || true
39
- finish
36
+ cd $owd
Original file line number Diff line number Diff line change @@ -19,11 +19,7 @@ function checkout_version {
19
19
return $?
20
20
}
21
21
22
- function finish {
23
- cd $owd
24
- }
25
22
owd=$( pwd)
26
- trap finish EXIT
27
23
28
24
export PATH=$HOME /.pyenv/bin/pyenv:$PATH
29
25
@@ -36,4 +32,4 @@ rm -v */.python-version || true
36
32
37
33
git pull
38
34
rm -v * /.python-version || true
39
- finish
35
+ cd $owd
You can’t perform that action at this time.
0 commit comments