Skip to content

Commit

Permalink
Merge pull request #1227 from openziti/issue_1220
Browse files Browse the repository at this point in the history
Fixed getZiti custom path prompt
  • Loading branch information
gberl002 authored Aug 1, 2023
2 parents e512c0a + 17134b0 commit 3be29f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
## Component Updates and Bug Fixes
* github.com/openziti/ziti: [v0.29.0 -> v0.29.1](https://github.com/openziti/ziti/compare/v0.29.0...v0.29.1)
* [Issue #1212](https://github.com/openziti/ziti/issues/1212) - Fixed getZiti function on Mac/ZSH
* [Issue #1220](https://github.com/openziti/ziti/issues/1220) - Fixed getZiti function not respecting user input for custom path

# Release 0.29.0

Expand Down
4 changes: 2 additions & 2 deletions quickstart/docker/image/ziti-cli-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -602,11 +602,11 @@ function getZiti {
default_path="${ZITI_HOME}/ziti-bin/ziti-${ZITI_BINARIES_VERSION}"
echo -en "The path for ziti binaries has not been set, use the default (${default_path})? (Y/n) "
read -r reply
if [[ -z "${reply}" || ${reply} =~ [yY]* ]]; then
if [[ -z "${reply}" || ${reply} =~ [yY] ]]; then
echo "INFO: using the default path ${default_path}"
ZITI_BIN_DIR="${default_path}"
else
echo -en "Enter the preferred path and press <enter> (the path will be created if necessary) "
echo -en "Enter the preferred fully qualified path and press <enter> (the path will be created if necessary) "
read -r ZITI_BIN_DIR
fi
fi
Expand Down

0 comments on commit 3be29f2

Please sign in to comment.