gitlab CI: fix a variable substitution

Single quotes means we're not expanding the variable here

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-02-20 16:59:54 +10:00
parent 283dfc07f9
commit 5a9368f4da
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ variables:
script:
- meson "$MESON_BUILDDIR" $MESON_ARGS
- ninja -C "$MESON_BUILDDIR" $NINJA_ARGS
- if ! [[ -z '$MESON_TEST_ARGS' ]]; then
- if ! [[ -z "$MESON_TEST_ARGS" ]]; then
meson test -C "$MESON_BUILDDIR" $MESON_TEST_ARGS;
fi

View file

@ -107,7 +107,7 @@ variables:
script:
- meson "$MESON_BUILDDIR" $MESON_ARGS
- ninja -C "$MESON_BUILDDIR" $NINJA_ARGS
- if ! [[ -z '$MESON_TEST_ARGS' ]]; then
- if ! [[ -z "$MESON_TEST_ARGS" ]]; then
meson test -C "$MESON_BUILDDIR" $MESON_TEST_ARGS;
fi