Skip to content

Commit

Permalink
modules dir not found in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Edwardius committed Nov 25, 2023
1 parent 9e78abb commit 3d8d06f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/watod-setup-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ MONO_DIR="$(dirname "$(realpath "$0")")"
MONO_DIR=${MONO_DIR%/*}

MODULES_DIR="$MONO_DIR/modules"
# default to the monorepo directory, this is for CI
if [ ! -d "$MODULES_DIR" ]; then
echo "Directory does not exist: $MODULES_DIR"
MODULES_DIR="$MONO_DIR"
fi

# Allow for local overrides of any of the below parameters
if [ -f "$MONO_DIR/watod-config.sh" ]; then
Expand Down

0 comments on commit 3d8d06f

Please sign in to comment.