docker-deploy.sh: SC2155 – SCRIPT_NAME getrennt deklarieren und zuweisen
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9ffbdfb5af
commit
bd38c1ea29
1 file changed
+2
-1
+2
-1
@@ -6,7 +6,8 @@ set -Eeuo pipefail
|
|||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
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 DEPLOY_SUBDIR="deployment"
|
||||||
readonly CONFIG_FILE="/etc/docker-deploy.conf"
|
readonly CONFIG_FILE="/etc/docker-deploy.conf"
|
||||||
readonly ALLOWED_ACTIONS=(build up down restart logs pull deploy)
|
readonly ALLOWED_ACTIONS=(build up down restart logs pull deploy)
|
||||||
|
|||||||
Reference in new issue
Block a user