Skip to content

Commit 7130326

Browse files
authored
Merge pull request #394 from githubtraining/fix_env_config
Fixing for New Computers
2 parents f96fa31 + a60e433 commit 7130326

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

script/teach-class

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ do_task() {
6464
COLLAB_REPO_WHITESPACE="$(echo -e "$COLLAB_REPO" | tr -d '[:space:]')"
6565
COLLAB_REPO=$COLLAB_REPO_WHITESPACE
6666
elif [ "$TASK" -ne 0 ]; then
67-
# Validate we have env variables sourced
67+
# shellcheck disable=SC1091
68+
source "$HOME/.trainingmanualrc"
69+
# Validate env variables
6870
check_env
6971
fi
7072

0 commit comments

Comments
 (0)