This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 2fc13f0  Fixes unbound variable on MacOS (#9335)
2fc13f0 is described below

commit 2fc13f00682fe98061f55686d7aa5bada969a931
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Jun 16 20:25:24 2020 +0200

    Fixes unbound variable on MacOS (#9335)
    
    Closes #9334
---
 breeze | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/breeze b/breeze
index 7f1c8ca..c458592 100755
--- a/breeze
+++ b/breeze
@@ -2009,7 +2009,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
@@ -2090,6 +2090,7 @@ function run_breeze_command {
           echo >&2
           ;;
     esac
+    set -u
 }
 
 setup_default_breeze_variables

Reply via email to