]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
travis: fix syntax error in .travis.yml
authorFrantisek Sumsal <fsumsal@redhat.com>
Tue, 15 Jan 2019 13:35:27 +0000 (14:35 +0100)
committerLukáš Nykrýn <lnykryn@redhat.com>
Thu, 17 Jan 2019 12:36:59 +0000 (13:36 +0100)
(cherry picked from commit 7f9d44f527ea214347f7d3b3b067f84df53feed7)

.travis.yml

index 1c4e6f9728730c680c2e60614d2cd43ae32808d0..c5c9c345a9be2f268938f968dd1ddf9f38cb59f4 100644 (file)
@@ -19,8 +19,7 @@ jobs:
               - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
               - docker --version
           install:
-              - RHEL_VERSION="rhel7"
-              - [ -f meson.build ] && RHEL_VERSION="rhel8"
+              - if [ -f meson.build ]; then RHEL_VERSION=rhel8; else RHEL_VERSION=rhel7; fi
               - $CI_ROOT/travis-centos-${RHEL_VERSION}.sh SETUP
           script:
               - set -e