daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
36e8a3
From a7f87d13f6f7dd92e1f1f7617df531fa34c70b6d Mon Sep 17 00:00:00 2001
36e8a3
From: Frantisek Sumsal <fsumsal@redhat.com>
36e8a3
Date: Tue, 15 Jan 2019 14:35:27 +0100
36e8a3
Subject: [PATCH] travis: fix syntax error in .travis.yml
36e8a3
36e8a3
(cherry picked from commit 7f9d44f527ea214347f7d3b3b067f84df53feed7)
36e8a3
---
36e8a3
 .travis.yml | 3 +--
36e8a3
 1 file changed, 1 insertion(+), 2 deletions(-)
36e8a3
36e8a3
diff --git a/.travis.yml b/.travis.yml
4bff0a
index 1c4e6f9728..c5c9c345a9 100644
36e8a3
--- a/.travis.yml
36e8a3
+++ b/.travis.yml
36e8a3
@@ -19,8 +19,7 @@ jobs:
36e8a3
               - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
36e8a3
               - docker --version
36e8a3
           install:
36e8a3
-              - RHEL_VERSION="rhel7"
36e8a3
-              - [ -f meson.build ] && RHEL_VERSION="rhel8"
36e8a3
+              - if [ -f meson.build ]; then RHEL_VERSION=rhel8; else RHEL_VERSION=rhel7; fi
36e8a3
               - $CI_ROOT/travis-centos-${RHEL_VERSION}.sh SETUP
36e8a3
           script:
36e8a3
               - set -e