Fix the Makefile by sourcing tools/env.sh if TELODENDRIA_ENV is unset.

This commit is contained in:
Jordan Bancino 2023-04-30 01:47:27 +00:00
parent abbbfe4d7f
commit f1f66c6331
2 changed files with 7 additions and 0 deletions

View file

@ -11,6 +11,10 @@
# handle building the code, it also handles formatting it, as well # handle building the code, it also handles formatting it, as well
# as generating patch files. # as generating patch files.
if [ -z "$TELODENDRIA_ENV" ]; then
. tools/env.sh
fi
# #
# Set variables # Set variables
# #

View file

@ -39,3 +39,6 @@ if [ "$(uname)" = "OpenBSD" ]; then
# flags. # flags.
export MALLOC_OPTIONS="CFGJSU" export MALLOC_OPTIONS="CFGJSU"
fi fi
export TELODENDRIA_ENV=1