dryang / rpms / systemd

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