File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -11,21 +11,15 @@ source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
11
11
# Since matrix variables are readonly in Azure Pipelines, we take
12
12
# INITIAL_RUST_CONFIGURE_ARGS and establish RUST_CONFIGURE_ARGS
13
13
# which downstream steps can alter
14
- # if [[ -v INITIAL_RUST_CONFIGURE_ARGS ]]; then
15
-
16
- # if [[ -z "$INITIAL_RUST_CONFIGURE_ARGS" ]]; then
17
- # INITIAL_RUST_CONFIG=${INITIAL_RUST_CONFIGURE_ARGS}
18
-
14
+ # MacOS ships with Bash 3.16, which means we cannot use
15
+ # if [[ -v FOO ]], as that was introduced in Bash 4.2
19
16
if [[ -z " ${INITIAL_RUST_CONFIGURE_ARGS+x} " ]]; then
20
17
INITIAL_RUST_CONFIG=" "
18
+ echo " No initial Rust Configure Args set"
21
19
else
22
20
INITIAL_RUST_CONFIG=" ${INITIAL_RUST_CONFIGURE_ARGS} "
21
+ ciCommandSetEnv RUST_CONFIGURE_ARGS " ${INITIAL_RUST_CONFIG} "
23
22
fi
24
- # if [ -z ${INITIAL_RUST_CONFIG}]; then
25
- # ciCommandSetEnv RUST_CONFIGURE_ARGS "${INITIAL_RUST_CONFIG}"
26
- # else
27
- # echo "No initial Rust Configure Args set"
28
- # fi
29
23
30
24
# Builders starting with `dist-` are dist builders, but if they also end with
31
25
# `-alt` they are alternate dist builders.
You can’t perform that action at this time.
0 commit comments