gitlab CI: fix a variable substitution
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 20 Feb 2020 06:59:54 +0000 (16:59 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 20 Feb 2020 07:06:14 +0000 (17:06 +1000)
Single quotes means we're not expanding the variable here

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
.gitlab-ci.yml
.gitlab-ci/gitlab-ci.tmpl

index d52966e427ee45bc898b27717fb47cb036a6e0e0..3068ee2cfd45329f04774ce287dd83f50bef77b7 100644 (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
 
index 2165a672b33facde81fe955eb54784cd50ee9d1b..c45549f065295239e9ca0494dcbdffcdc13d7f55 100644 (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