fix: use correct path for /etc/default file

/etc/defaults was an invalid path.
This commit is contained in:
Jose Diaz-Gonzalez
2018-04-01 17:48:06 -04:00
parent db5b077354
commit c352f463f7
4 changed files with 8 additions and 8 deletions

View File

@@ -2,9 +2,9 @@
set -eo pipefail
shopt -s nullglob
if [[ -r /etc/defaults/dokku ]]; then
if [[ -r /etc/default/dokku ]]; then
# shellcheck disable=SC1091
source /etc/defaults/dokku
source /etc/default/dokku
fi
export DOKKU_ROOT=${DOKKU_ROOT:=~dokku}