From e29b29df1aa2fff690a096e05fbc8a174a827967 Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Fri, 14 May 2021 07:51:44 -0400 Subject: [PATCH] minor tweak to echo'ed output --- quickstart/docker/image/env.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/quickstart/docker/image/env.sh b/quickstart/docker/image/env.sh index 6a9936c97..026a2981f 100755 --- a/quickstart/docker/image/env.sh +++ b/quickstart/docker/image/env.sh @@ -69,11 +69,12 @@ echo "alias psz='ps -ef | grep ziti'" >> "${ENV_FILE}" #when sourcing the emitted file add the bin folder to the path tee -a "${ENV_FILE}" > /dev/null <<'heredoc' +echo " " if [[ ! "$(echo "$PATH"|grep -q "${ZITI_BIN_DIR}" && echo "yes")" == "yes" ]]; then echo "adding ${ZITI_BIN_DIR} to the path" export PATH=$PATH:"${ZITI_BIN_DIR}" -fi -echo " " +else echo " ziti binaries are located at: ${ZITI_BIN_DIR}" echo -e 'add this to your path if you want by executing: export PATH=$PATH:'"${ZITI_BIN_DIR}" +fi heredoc