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