Commit 3a774da4 authored by Guido Gunther's avatar Guido Gunther
Browse files

build-image: Fix spark build condition

We want to do the setup if SPARK_ID is non-empty

Broken-by: 2db8dc7e
parent 27684d05
Pipeline #50251 passed with stage
in 20 seconds
......@@ -195,7 +195,7 @@ while getopts ":hb:d:T:B" opt; do
# Setup build environment if we are running in a Laniakea Spark builder nspawn container
[ -n "${SPARK_ID:-}" ] || setup_laniakea_spark_build
[ -z "${SPARK_ID:-}" ] || setup_laniakea_spark_build
# If distro ends in CI use ci packages and cleanup distro name
[[ "${distro}" =~ \+ci ]] && ci_pkgs=1 || ci_pkgs=0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment