Simplify sourcing of environment overriding script

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
Dom Rodriguez 2021-11-05 20:43:37 +00:00
parent c61e98169c
commit bafd58387f
No known key found for this signature in database
GPG Key ID: 72DCF1231E54BD43
1 changed files with 1 additions and 3 deletions

View File

@ -29,9 +29,7 @@ fi
# Source local build variables to the environment, if available.
# If not, continue as normal, and silently.
if [ -e "./build_env.sh" ]; then
. "./build_env.sh"
fi
[ -e "./build_env.sh" ] && . "./build_env.sh"
# Initialise Git submodules
git submodule update --init --recursive