You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/06/20 16:53:16 UTC
[airflow] 17/25: Fixes unbound variable on MacOS (#9335)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 60c0a4b435363fdcbb67b171a46e8a4e92a8e466
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Tue Jun 16 20:25:24 2020 +0200
Fixes unbound variable on MacOS (#9335)
Closes #9334
(cherry picked from commit 2fc13f00682fe98061f55686d7aa5bada969a931)
---
breeze | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/breeze b/breeze
index d78eaf2..118703d 100755
--- a/breeze
+++ b/breeze
@@ -1864,7 +1864,7 @@ function run_build_command {
# Runs the actual command - depending on the command chosen it will use the right
# Convenient script and run the right command with it
function run_breeze_command {
- set -u
+ set +u
case "${COMMAND_TO_RUN}" in
enter_breeze)
if [[ ${PRODUCTION_IMAGE} == "true" ]]; then
@@ -1939,6 +1939,7 @@ function run_breeze_command {
echo >&2
;;
esac
+ set -u
}
setup_default_breeze_variables