Skip to content

Commit

Permalink
[release-17.0] Update env.sh so that is does not error when running o…
Browse files Browse the repository at this point in the history
…n Mac (#15835) (#15913)

Signed-off-by: bddicken <[email protected]>
Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com>
  • Loading branch information
vitess-bot[bot] authored May 10, 2024
1 parent 5fabd57 commit de4fefe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/common/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ alias mysql="command mysql --no-defaults -h 127.0.0.1 -P 15306"
alias vtctlclient="command vtctlclient --server localhost:15999 --log_dir ${VTDATAROOT}/tmp --alsologtostderr --config-file-not-found-handling=ignore"
alias vtctldclient="command vtctldclient --server localhost:15999"

# Make sure aliases are expanded in non-interactive shell
shopt -s expand_aliases
# If using bash, make sure aliases are expanded in non-interactive shell
if [[ -n ${BASH} ]]; then
shopt -s expand_aliases
fi

0 comments on commit de4fefe

Please sign in to comment.