From b2909f30d709fb24d2eb2bdfbc9d4f1948814514 Mon Sep 17 00:00:00 2001 From: Amine Mouafik Date: Sat, 26 Oct 2019 13:50:12 +0700 Subject: Attempt at fixing Travis conditional sed --- .travis.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index e9ae3d7d0..ba8bc86ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,11 +18,7 @@ git: submodules: false # Use sed to replace the SSH URL with the public URL, then initialize submodules before_install: - - if [ $TRAVIS_OS_NAME == "linux" ]; then - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules - else - sed -i '' 's/git@github.com:/https:\/\/github.com\//' .gitmodules # macOS - fi + - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules; else sed -i '' 's/git@github.com:/https:\/\/github.com\//' .gitmodules; fi - git submodule update --init --recursive install: - echo do nothing -- cgit v1.2.3-70-g09d2