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