Set default for OSTYPE in run-in-env script (#109731)
This commit is contained in:
parent
49a99559c7
commit
5b1e0b2602
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
set -eu
|
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
|
# Activate pyenv and virtualenv if present, then run the specified command
|
||||||
|
|
||||||
# pyenv, pyenv-virtualenv
|
# pyenv, pyenv-virtualenv
|
||||||
|
|
Loading…
Add table
Reference in a new issue