From 4565740381f9c951861afb862098ac63ab75d528 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Fri, 17 May 2019 21:41:13 -0400 Subject: [PATCH] Fix bash syntax error --- .ci/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/install.sh b/.ci/install.sh index 72233549..17019e71 100755 --- a/.ci/install.sh +++ b/.ci/install.sh @@ -39,7 +39,7 @@ if [ "$TRAVIS_OS_NAME" = "linux" ]; then UBUNTU_RELEASE = $(lsb_release -sc) - if [ "$UBUNTU_RELEASE" eq "trusty" ] + if [ "$UBUNTU_RELEASE" eq "trusty" ]; then curl https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - sudo apt-add-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty main" @@ -49,7 +49,7 @@ if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo add-apt-repository -y ppa:beineri/opt-qt${QT_VERSION}-trusty # needed for git-lfs, otherwise the follow apt update fails. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6B05F25D762E3157 - elif [ "$UBUNTU_RELEASE" eq "xenial" ] + elif [ "$UBUNTU_RELEASE" eq "xenial" ]; then curl https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main" sudo apt-get update -qq