Blame SOURCES/0678-travis-fix-syntax-error-in-.travis.yml.patch

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