Fix tilde expansion in development environment function library

Due to how bash expands tildes, the `~` is treated literally here and
results in a folder in the Vagrant user's home directory called `~`.

This commit switches to using the `$HOME` environment variable instead.
This commit is contained in:
Nick Jones 2018-03-01 13:15:54 +00:00
parent c5dc89cac1
commit 450a7a24f8
No known key found for this signature in database
GPG Key ID: F6D24C8669938334

View File

@ -25,7 +25,7 @@ function config_defaults {
export KAYOBE_CONFIG_SOURCE_PATH="${KAYOBE_CONFIG_SOURCE_PATH:-${KAYOBE_SOURCE_PATH}/config/src/kayobe-config}"
# Path to the kayobe virtual environment.
export KAYOBE_VENV_PATH="${KAYOBE_VENV_PATH:-~/kayobe-venv}"
export KAYOBE_VENV_PATH="${KAYOBE_VENV_PATH:-${HOME}/kayobe-venv}"
# Whether to build container images for the seed services. If 0, they will
# be pulled.