gitlab-ci: fix testing whether a variable with a given name is set or not
authorEric Engestrom <eric@engestrom.ch>
Wed, 19 Aug 2020 14:02:44 +0000 (16:02 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 21:53:31 +0000 (21:53 +0000)
commit72fac11ca37c67a13225dbe8c04e73cdca36ae5f
treecda17ca63efa1f2a598d2ebf1e264487585ce818
parent64fb3e6def2b71df2766fabfeddadcc732155775
gitlab-ci: fix testing whether a variable with a given name is set or not

The previous code considered unset variables the same as set-but-empty;
sometimes setting a variable as something empty is meaningful, so let's
pass them through properly.

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6389>
.gitlab-ci/bare-metal/rootfs-setup.sh