Skip to content

Commit

Permalink
chore: fix shellcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jvmakine committed Oct 7, 2024
1 parent cfbce05 commit 6e3325e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/ftl
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 6e3325e

Please sign in to comment.