You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Administrivia
Don't use finish in sourced admin programs
This commit is contained in:
@@ -18,12 +18,7 @@ function checkout_version {
|
||||
return $?
|
||||
}
|
||||
|
||||
# FIXME put some of the below in a common routine
|
||||
function finish {
|
||||
cd $owd
|
||||
}
|
||||
owd=$(pwd)
|
||||
trap finish EXIT
|
||||
|
||||
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
|
||||
|
||||
@@ -35,4 +30,4 @@ cd $fulldir/..
|
||||
|
||||
git pull
|
||||
rm -v */.python-version || true
|
||||
finish
|
||||
cd $owd
|
||||
|
Reference in New Issue
Block a user