diff --git a/.envrc b/.envrc index bdc753ffe8..0149484177 100644 --- a/.envrc +++ b/.envrc @@ -19,7 +19,9 @@ fi local bbl_state_dir=../app-autoscaler-env-bbl-state/bbl-state if has bbl && [[ -d "$bbl_state_dir" ]] then - eval "$(bbl print-env --state-dir "$bbl_state_dir")" + BBL_STATE_DIRECTORY="$(realpath "$bbl_state_dir")" + export BBL_STATE_DIRECTORY + eval "$(bbl print-env)" fi export DBURL="postgres://postgres:postgres@localhost/autoscaler"