gitlab-ci: fix quoting of variables passed down to bare-metal runners
authorEric Engestrom <eric@engestrom.ch>
Tue, 18 Aug 2020 22:47:16 +0000 (00:47 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 21:53:31 +0000 (21:53 +0000)
commitb5d36e9cb6c73c6e4eea4df247ded96535abae18
tree628cf991c9908ce38e3c716f57a3456be18a2624
parent72fac11ca37c67a13225dbe8c04e73cdca36ae5f
gitlab-ci: fix quoting of variables passed down to bare-metal runners

Eric Anholt identified the issue when merging one of my MRs: the
variable contained words in '`' backticks, which caused them to be
executed by the bare metal runner's shell.

Quote the value printed using bash's shell expansion feature to make
sure anything in the future will be properly quoted.

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