use declare for description variable
This commit is contained in:
1 parent
d8e00f4f8a
commit
987c5cfb9c
111 files changed
+225
-225
No files matched your search
@@ -5,7 +5,7 @@ source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
|
||||
|
||||
nginx_build_config_cmd() {
|
||||
local desc="build nginx config to proxy app containers from command line"
|
||||
declare desc="build nginx config to proxy app containers from command line"
|
||||
local cmd="nginx:build-config"
|
||||
[[ -z $2 ]] && echo "Please specify an app to run the command on" && exit 1
|
||||
nginx_build_config "$2"
|
||||
|
||||
Reference in new issue
Block a user