From 450a7a24f842fe1b3a3ec8737502a375b82e3dbf Mon Sep 17 00:00:00 2001 From: Nick Jones Date: Thu, 1 Mar 2018 13:15:54 +0000 Subject: [PATCH] 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. --- dev/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/functions b/dev/functions index ea58eece8..bf0cb6dba 100644 --- a/dev/functions +++ b/dev/functions @@ -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.