docker-deploy.sh: SC2155 – SCRIPT_NAME getrennt deklarieren und zuweisen
This commit is contained in:
1 parent
0334711b8e
commit
be80074390
1 file changed
+2
-1
+2
-1
@@ -6,7 +6,8 @@ set -Eeuo pipefail
|
||||
IFS=$'\n\t'
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
readonly SCRIPT_NAME="$(basename "$0")"
|
||||
SCRIPT_NAME="$(basename "$0")"
|
||||
readonly SCRIPT_NAME
|
||||
readonly DEPLOY_SUBDIR="deployment"
|
||||
readonly CONFIG_FILE="/etc/docker-deploy.conf"
|
||||
readonly ALLOWED_ACTIONS=(build up down restart logs pull deploy)
|
||||
|
||||
Reference in new issue
Block a user