ryantimwilson / rpms / systemd

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