From f5e9e4e424d44084692b4457007426b9aaead71b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juho=20M=C3=A4kinen?= Date: Tue, 8 Oct 2024 09:52:54 +1100 Subject: [PATCH] chore: fix shellcheck warnings (#3025) Co-authored-by: github-actions[bot] --- scripts/ftl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/ftl b/scripts/ftl index 22227d2402..4886247207 100755 --- a/scripts/ftl +++ b/scripts/ftl @@ -1,7 +1,11 @@ #!/bin/bash set -euo pipefail -export FTL_DIR="$(dirname "$(readlink -f "$0")")/.." -if [ ! "${HERMIT_ENV}" -ef ${FTL_DIR} ]; then + +FTL_DIR="$(dirname "$(readlink -f "$0")")/.." +export FTL_DIR + +if [ ! "${HERMIT_ENV}" -ef "${FTL_DIR}" ]; then + # shellcheck disable=SC1091 . "${FTL_DIR}/bin/activate-hermit" fi