Simplify sourcing of environment overriding script

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
Dom Rodriguez
2021-11-06 17:52:49 +00:00
parent c61e98169c
commit bafd58387f
+1 -3
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