mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-10 13:45:49 +08:00
Simplify sourcing of environment overriding script
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user