use declare for description variable

This commit is contained in:
Michael Hobbs committed 2016-03-08 15:30:34 -05:00
1 parent d8e00f4f8a
commit 987c5cfb9c
111 files changed
+225 -225

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
events_on_cmd() {
local desc="enables dokku events logger"
declare desc="enables dokku events logger"
local cmd="events:on"
echo "Enabling dokku events logger"
[[ -d $DOKKU_ROOT/.dokkurc ]] || mkdir -p "$DOKKU_ROOT/.dokkurc"