adding a DOKKU_TRACE env var to enable "set -x"

This commit is contained in:
Jeff Lindsay
2013-10-29 17:44:36 -05:00
parent df7507d1be
commit b64fe76ec0

2
dokku
View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -eo pipefail
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
export PLUGIN_PATH=${PLUGIN_PATH:="/var/lib/dokku/plugins"}
export DOKKU_ROOT=${DOKKU_ROOT:="/home/dokku"}