__netbox{,_gunicorn}: fix shellcheck directives

This commit is contained in:
matze 2020-09-02 09:15:45 +02:00
commit 2805b6beff
2 changed files with 4 additions and 2 deletions

View file

@ -41,7 +41,8 @@ while read -r hostname; do
# shellcheck disable=SC2089
ALLOWED_HOSTS="$ALLOWED_HOSTS '$hostname',"
done < "$__object/parameter/host"
export ALLOWED_HOSTS # shellcheck disable=SC2090
# shellcheck disable=SC2090
export ALLOWED_HOSTS
if [ -f "$__object/parameter/secret-key" ]; then
SECRET_KEY=$(cat "$__object/parameter/secret-key")