You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2020/10/19 09:58:36 UTC

[airflow] branch master updated: Sourcing the profile file should be sufficient to update the PATH, re-login is not required. (#11588)

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

ash 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 73b0991  Sourcing the profile file should be sufficient to update the PATH, re-login is not required. (#11588)
73b0991 is described below

commit 73b0991e48c7f4b8978dde691f1791ad11e960b7
Author: alxdembo <34...@users.noreply.github.com>
AuthorDate: Mon Oct 19 10:57:10 2020 +0100

    Sourcing the profile file should be sufficient to update the PATH, re-login is not required. (#11588)
---
 scripts/ci/libraries/_sanity_checks.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/ci/libraries/_sanity_checks.sh b/scripts/ci/libraries/_sanity_checks.sh
index b38a61e..9347bf4 100644
--- a/scripts/ci/libraries/_sanity_checks.sh
+++ b/scripts/ci/libraries/_sanity_checks.sh
@@ -84,19 +84,19 @@ function sanity_checks::check_if_coreutils_installed() {
             echo >&2
             echo >&2 "Then link the gnu-getopt to become default as suggested by brew."
             echo >&2
-            echo >&2 "If you use bash, you should run this command:"
+            echo >&2 "If you use bash, you should run these commands:"
             echo >&2
             echo >&2 "echo 'export PATH=\"/usr/local/opt/gnu-getopt/bin:\$PATH\"' >> ~/.bash_profile"
             echo >&2 ". ~/.bash_profile"
             echo >&2
-            echo >&2 "If you use zsh, you should run this command:"
+            echo >&2 "If you use zsh, you should run these commands:"
             echo >&2
             echo >&2 "echo 'export PATH=\"/usr/local/opt/gnu-getopt/bin:\$PATH\"' >> ~/.zprofile"
             echo >&2 ". ~/.zprofile"
             echo >&2
-            echo >&2 "Login and logout afterwards !!"
+            echo >&2 "Either source the profile file as shown above, or re-login afterwards."
             echo >&2
-            echo >&2 "After re-login, your PATH variable should start with \"/usr/local/opt/gnu-getopt/bin\""
+            echo >&2 "After that, your PATH variable should start with \"/usr/local/opt/gnu-getopt/bin\""
             echo >&2 "Your current path is ${PATH}"
             echo >&2
         else