fix: remove set -uC from set -euC

This commit is contained in:
Mark Bailey 2024-11-04 14:31:54 -05:00
parent 7ca0325ff4
commit 1e7996817a

View File

@ -1,14 +1,13 @@
#!/bin/sh #!/bin/sh
set -euC set -e
_activate_venv() { _activate_venv() {
. .venv/bin/activate . .venv/bin/activate
} }
_venv() { _venv() {
_py_version=${1:-3.12.0}
case "$1" in case "$1" in
"") _skip=false ;;
--skip-install) --skip-install)
_skip=true _skip=true
shift shift
@ -17,6 +16,8 @@ _venv() {
esac esac
if ! $_skip; then if ! $_skip; then
_py_version=${1:-3.12.0}
pyenv install $_py_version pyenv install $_py_version
#init pyenv #init pyenv
@ -102,7 +103,7 @@ _main() {
fi fi
_cmd="${1:-help}" _cmd="${1:-help}"
if ! [ -z "$@" ]; then if ! [[ -z "$@" ]]; then
shift shift
fi fi