mirror of https://github.com/debauchee/barrier.git
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.
|
# Source local build variables to the environment, if available.
|
||||||
# If not, continue as normal, and silently.
|
# If not, continue as normal, and silently.
|
||||||
if [ -e "./build_env.sh" ]; then
|
[ -e "./build_env.sh" ] && . "./build_env.sh"
|
||||||
. "./build_env.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Initialise Git submodules
|
# Initialise Git submodules
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
Loading…
Reference in New Issue