Skip to content

Commit 2175e3e

Browse files
committed
Use shellcheck source to point the sourced file
1 parent 81bb00e commit 2175e3e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

examples/docker-compose/notebook/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66

77
# Setup environment
8-
# shellcheck disable=SC1091
8+
# shellcheck source=examples/docker-compose/notebook/env.sh
99
source "${DIR}/env.sh"
1010

1111
# Build the notebook image

examples/docker-compose/notebook/down.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66

77
# Setup environment
8-
# shellcheck disable=SC1091
8+
# shellcheck source=examples/docker-compose/notebook/env.sh
99
source "${DIR}/env.sh"
1010

1111
# Bring down the notebook container, using container name as project name

examples/docker-compose/notebook/up.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ else
5858
fi
5959

6060
# Setup environment
61-
# shellcheck disable=SC1091
61+
# shellcheck source=examples/docker-compose/notebook/env.sh
6262
source "${DIR}/env.sh"
6363

6464
# Create a Docker volume to store notebooks

images/docker-stacks-foundation/start.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fi
4646

4747

4848
# NOTE: This hook will run as the user the container was started with!
49-
# shellcheck disable=SC1091
49+
# shellcheck source=images/docker-stacks-foundation/run-hooks.sh
5050
source /usr/local/bin/run-hooks.sh /usr/local/bin/start-notebook.d
5151

5252
# If the container started as the root user, then we have permission to refit
@@ -150,7 +150,7 @@ if [ "$(id -u)" == 0 ]; then
150150
fi
151151

152152
# NOTE: This hook is run as the root user!
153-
# shellcheck disable=SC1091
153+
# shellcheck source=images/docker-stacks-foundation/run-hooks.sh
154154
source /usr/local/bin/run-hooks.sh /usr/local/bin/before-notebook.d
155155
unset_explicit_env_vars
156156

@@ -251,7 +251,7 @@ else
251251
fi
252252

253253
# NOTE: This hook is run as the user we started the container as!
254-
# shellcheck disable=SC1091
254+
# shellcheck source=images/docker-stacks-foundation/run-hooks.sh
255255
source /usr/local/bin/run-hooks.sh /usr/local/bin/before-notebook.d
256256
unset_explicit_env_vars
257257

0 commit comments

Comments
 (0)