Simplify sourcing of environment overriding script
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
parent
c61e98169c
commit
bafd58387f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue