Set default for OSTYPE in run-in-env script (#109731)

This commit is contained in:
Michael Hansen 2024-02-05 13:23:52 -06:00 committed by GitHub
parent 49a99559c7
commit 5b1e0b2602
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
#!/usr/bin/env sh
set -eu
# Used in venv activate script.
# Would be an error if undefined.
OSTYPE="${OSTYPE-}"
# Activate pyenv and virtualenv if present, then run the specified command
# pyenv, pyenv-virtualenv