From 13bd5864b3c4f255449757d76c5b5908281321ab Mon Sep 17 00:00:00 2001 From: Jody McIntyre Date: Mon, 9 Apr 2018 17:44:32 -0400 Subject: [PATCH] Add `DOKKU_ROOT_ON_HOST` variable This is to be used in place of `DOKKU_ROOT` when we need to refer to a path on the system where the Docker daemon is being run; if `dokku` is running in a container this may be different from the regular `DOKKU_ROOT`. --- dokku | 1 + 1 file changed, 1 insertion(+) diff --git a/dokku b/dokku index fed0cdcba..a5b712511 100755 --- a/dokku +++ b/dokku @@ -27,6 +27,7 @@ if [[ -d $DOKKU_ROOT/.dokkurc ]]; then done fi [[ $DOKKU_TRACE ]] && set -x +export DOKKU_ROOT_ON_HOST=${DOKKU_ROOT_ON_HOST:=$DOKKU_ROOT} export DOKKU_DISTRO # shellcheck disable=SC1091