From c6df6a040a6e4ef54b65e0907ecb71da890a2ba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Mon, 8 Feb 2021 12:04:22 +0100 Subject: [PATCH] Fix shellcheck complaint --- build.sh | 2 +- docker/docker-entrypoint.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 408ad0c..47f4160 100755 --- a/build.sh +++ b/build.sh @@ -216,7 +216,7 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do TARGET_DOCKER_TAG="${TARGET_DOCKER_TAG}-${DOCKER_TARGET}" fi if [ -n "${GH_ACTION}" ]; then - echo "FINAL_DOCKER_TAG=${TARGET_DOCKER_TAG}" >> $GITHUB_ENV + echo "FINAL_DOCKER_TAG=${TARGET_DOCKER_TAG}" >> "$GITHUB_ENV" echo "::set-output name=skipped::false" fi diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 6d522bf..96ed002 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -8,6 +8,7 @@ set -e umask 002 # Load correct Python3 env +# shellcheck disable=SC1091 source /opt/netbox/venv/bin/activate # Try to connect to the DB