diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2021-06-15 11:23:23 +0200 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2021-06-15 14:02:44 +0200 |
commit | c06e72791e98d16f14bead482bb95a79687d847d (patch) | |
tree | d714965ae38dd83b8d4d989ce9aa8c09cb9d57e4 /.gitlab-ci | |
parent | b04e826e33941ff232ce302d9ab773ac46e8a08b (diff) |
ci/bare-metal: Add parens around shell command
Play safe and make sure we don't get bit by priority rules between the
|| and | operators.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Suggested-by: Martin Peres <martin.peres@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11337>
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x | .gitlab-ci/bare-metal/init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci/bare-metal/init.sh b/.gitlab-ci/bare-metal/init.sh index 60e12c4b14e..b8b41b46a49 100755 --- a/.gitlab-ci/bare-metal/init.sh +++ b/.gitlab-ci/bare-metal/init.sh @@ -11,7 +11,7 @@ mount -t tmpfs tmpfs /tmp . /set-job-env-vars.sh -[ -z "$HWCI_KERNEL_MODULES" ] || echo -n $HWCI_KERNEL_MODULES | xargs -d, -n1 /usr/sbin/modprobe +[ -z "$HWCI_KERNEL_MODULES" ] || (echo -n $HWCI_KERNEL_MODULES | xargs -d, -n1 /usr/sbin/modprobe) # Store Mesa's disk cache under /tmp, rather than sending it out over NFS. export XDG_CACHE_HOME=/tmp |