From 5b1e0b2602721971698c56ab8b6b166f0b594c95 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Mon, 5 Feb 2024 13:23:52 -0600 Subject: [PATCH] Set default for OSTYPE in run-in-env script (#109731) --- script/run-in-env.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/run-in-env.sh b/script/run-in-env.sh index 271e7a4a034..085e07bef84 100755 --- a/script/run-in-env.sh +++ b/script/run-in-env.sh @@ -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